Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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!

    http://www.prismcareernetworks.com/prism_wordpress

    #247740

    Hi Gary!

    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">
    

    use:

    
    <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">
    

    Best regards,
    Peter

    #247778

    That didn’t work because the text size is different in each box; however, this did work:

    readMoreButton

    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!

    #247779

    Oops. Sorry.

    <img class="alignright size-full wp-image-3085" style="position: absolute; top: 350px; left: 180px;" alt="readMoreButton" src="http://www.prismcareernetworks.com/prism_wordpress/wp-content/uploads/2014/02/readMoreButton.png" width="104" height="34" />

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘HTML not working for images?’ is closed to new replies.