Support » How-To and Troubleshooting » [Resolved] Images with captions not showing

[Resolved] Images with captions not showing

  • If I add a caption to an image, it does not show in the post. For example, this page has a picture of an Australian Cockroach on it, but it won’t show.

    The code used is:
    [caption id="attachment_1915" align="alignright" width="257" caption="Australian Rach"]<img class="size-medium wp-image-1915" title="australian roach" src="http://allsafe.mypestprevention.com/files/2011/10/Australian_cockroach-257x3003.jpg" alt="australian roach" width="257" height="300" />[/caption]

    I have .caption, .wp-caption and .alignright defined in my stylesheet. Ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • in style.css of your theme (quite near to the end):

    /* Hides Caption on the main blog only not on individual posts */
    .category-blog .wp-caption { display:none; }

    this style is hiding the caption images; remove it

    Thanks, but that only hides captions on the blog category listing, not on the post itself.

    Sorry, nope, that was what it was SUPPOSED to do, but you are correct. Case closed! Thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Images with captions not showing’ is closed to new replies.