caption upsets paragraph spacing
-
Whenever I insert an image into a post and fill out the caption field, WordPress inserts an extra blank line between the first and second “paragraph” of my post. Always between the 1st & 2nd paragraph, nowhere else.
If I insert an image without a caption, no problem, a single blank line between every paragraph.
The first “paragraph” is actually a series of lines, consisting of anywhere from 2 to 5 lines, separated by a carriage return in the classic editor, and always in italics, using the em code. Neither of these features affect the behavior.
If I remove the italics, I get the same behavior: two blank lines before my first real paragraph.
If I replace the “line structure” of the credits with a regular paragraph of garbage text: two blank lines between my first and second paragraph.
In the classic editor, there is one blank line between every paragraph. If I remove the single blank line between the first and second paragraphs in the editor, that removes both blank lines between the paragraphs in the post.
So my question is: How can I get 1 blank line between the first & second paragraphs, while using the caption feature?
I’m using a child theme of twentyten, and the changes that I’ve made to the caption feature in style.css are:
.wp-caption { background: #fb94e6; margin-bottom: 10px; } .wp-caption p.wp-caption-text { color: #000000; }
Thanks for any suggestions.
The page I need help with: [log in to see the link]
- The topic ‘caption upsets paragraph spacing’ is closed to new replies.