Reduce Space Between Blog Posts
-
Hi there –
Newbie to CSS. Can someone assist in showing me the code to reduce the space between my blog posts? Right now it is too much.Also looking for assistance in creating a custom ‘READ MORE’ button. Thank you!
The blog I need help with is: (visible only to logged in users)
-
Hi,
In order to edit the CSS you need to upgrade to WordPress.com Premium if you haven’t already.
You can find information about how to add custom CSS here: https://en.support.wordpress.com/custom-design/editing-css/
This is the CSS you need to edit in order to change the space between your posts:
.hentry { border-bottom: 4px solid #eee; margin-bottom: 1.5em; padding-bottom: 1.5em; position: relative; }I have changed both the margin-bottom and padding-bottom values to 1.5em (was 3.4em) but you can see what works best.
Hope that helps.
-
I do have premium and I added your code and it worked BEAUTIFULLY! Thank you so much!!
Do you happen to know how I can create a ‘Read More’ Button instead of having a ‘Continue Reading’ link?
-
- The topic ‘Reduce Space Between Blog Posts’ is closed to new replies.