Archived topic
Mystery 20px of space at top of post/featured image under element
1 reply · Started by Stephen on July 26, 2021
Viewing posts 1–2 of 2
I created a featured image element for top of posts, with border and background. Then in the post, I put a text area at top of post, with a the same border and background.
I have removed all margin at bottom of element, and top of container in post. They should connect to look like one solid container, but there's still a 20px space between them. Where do I find this setting?
(link in private info)
Thanks in advance.
Hi there,
try adding this CSS:
.wp-caption,
.wp-caption .wp-caption-text {
margin-bottom: 0 !important;
}
.single-post .entry-content {
margin-top: 0;
}
This archived topic is closed to new replies.