Image Caption affection font size in paragraph
-
Hi there,
I’ve been finding that styling the wp-caption very difficult. If I insert an image and caption I end up with the following code in my admin:
[caption id="attachment_28" align="alignright" width="250" caption="This is a fancy caption"]<img src="https://...wordpress.gif" alt="This is a fancy caption" title="wordpress" width="250" height="100" class="size-full wp-image-28" />[/caption]Lorem ipsum ...
Which results in this appearing in the source code:
<p><div id="attachment_28" class="wp-caption alignright" style="width: 260px"><img src="https://..wordpress.gif" alt="This is a fancy caption" title="wordpress" width="250" height="100" class="size-full wp-image-28" /><p class="wp-caption-text">This is a fancy caption</p></div>Lorem ipsum...</p>
Because the image caption gets inserted within my paragraph tags, that text isn’t the same size as the other paragraphs. I’ve tried all sorts of css variations, switched from ems to px, but nothing works.
- The topic ‘Image Caption affection font size in paragraph’ is closed to new replies.