Visually, an h2 subtitle looks too close to an h3 subtitle in a post. So, I want to change the rule for space above h3 in blog posts (not pages). What is the CSS to add 10px margin above h3 in blog posts?
Hey m,
Can you provide a link to the site/page in question so we can look into this further? If not, try the following:
.single_post h3{
padding-top:10px!important;
}
Best regards,
Jordan Shannon
Thank you. Didn’t seem to work.
Hi,
Thank you for the login, I randomly picked a post as an example and an H3 > H2, please see the screenshot in Private Content area.
This css should work though out your site on posts only:
#top.single-post #wrap_all .entry-content h3 {
padding-top:10px!important;
}
please adjust the padding to suit.
Best regards,
Mike
Thank you, that worked!!
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon