-
AuthorPosts
-
April 4th, 2019 at 22:07 #76390
Hello,
first of all, thank you for this wonderful theme!
Is there a way to reduce the space/padding between the post title and content? I checked the single.php file and tried to add different codes to the custom css section, for example:.entry-content {
margin-top: 10px !important;
}It should do the trick, but nothing worked and I can’t understand why.
Website: lady-snowblood.net
April 5th, 2019 at 11:11 #76403Well, I tried pretty much everything today: looking into every php file, checking the style.css file, trying to set margin-top and margin-bottom to 0 for the single entry title, the entry content, the entry meta… no luck. I’m starting to think that blank space between the single post title and content is due to the header itself, but I have no idea where to find its value and how to change it. Any help would be appreciated.
Website: lady-snowblood.net
April 5th, 2019 at 11:58 #76407Nevermind, I finally figured it out by myself. To anyone that’s looking for the same thing, I just added this code to the custom css:
.single .main .article-inner > header {
margin-bottom: 2.5em;
}
.page .main .article-inner > header {
margin-bottom: 2.5em;
}Just change the margin-bottom to what looks best for your site.
Have a nice day!April 6th, 2019 at 14:02 #76460ZedCryout Creations mastermindI suggest using the browser’s development tools (normally available by pressing F12) to pinpoint which styling applies to which element (and even try changes) easier than guessing it from the code/styling files.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.April 6th, 2019 at 17:32 #76462Thanks! It’s true, that’s exactly how I figured it out. 🙂
-
AuthorPosts
The topic ‘Reduce space between post title and content’ is closed to new replies.