If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
April 3, 2014 at 6:26 pm #247163
After creating three columns with icons, headers and text I added “readmore” buttons, intending them to be on the bottom of each section. I went into edit each image, adding “vertical-align:text-bottom;” and a vertical space of 40px so there was some space between the text and the button. Neither setting appears to do anything. I then tried adding some <br> lines to get them to line up. This didn’t work either and when I went back into the editor my <br> codes were gone.
I asked this before but didn’t get an answer so maybe it has to be added as a feature request. My text is white on a color background, but when you are in the Editor obviously you can’t see it. I have to switch to the “text” view to see the coding, which is fine, but then you can’t add images unless you are in the “visual” editor. Having the actual background color show would be excellent.
Thanks!April 5, 2014 at 8:55 am #247740
You can’t add inline styles to the “class” attribute. Instead of:
<img class="alignright size-full wp-image-3085 vertical-align:text-bottom;" alt="readMoreButton" src="http://www.prismcareernetworks.com/prism_wordpress/wp-content/uploads/2014/02/readMoreButton.png" width="104" height="34">
<img class="alignright size-full wp-image-3085" style="vertical-align:text-bottom;" alt="readMoreButton" src="http://www.prismcareernetworks.com/prism_wordpress/wp-content/uploads/2014/02/readMoreButton.png" width="104" height="34">
PeterApril 5, 2014 at 2:36 pm #247778
That didn’t work because the text size is different in each box; however, this did work:
This placed the read more button at the bottom regardless of the amount of text above.
If you look at this section you will also see something I managed to create and I would suggest be a feature request. I wanted the semi-transparent background behind each box with a background image for the section. With some playing around I managed to add the transparent backgrounds to my background image to get the effect; however, it would be great to be able to specify a background for each text box.
Loving the theme the more I use it!April 5, 2014 at 2:37 pm #247779
The topic ‘HTML not working for images?’ is closed to new replies.