Reduce Space between Posts on Category and Search Pages

There is a lot of space, both on desktop and mobile, between the posts on category pages and search results. How can I reduce that space?

Hi Kevin,

Thank you for writing in, please do the following,

  • Ensure that you are fully up to date. WordPress, Theme, and Cornerstone (Version Compatibility)
  • Clear all the site caches (plugin, server-side, CDN, and browser’s cache) so that the code from the latest release is always in use. This will help you to avoid any potential errors. Please deactivate this caching features while we tackle this issue.

If the issue persists, please provide us the site URL and login credentials in a secure note if it’s under construction mode.

Cheers!

Wow. This was completely unhelpful. Can another staff member respond to my post?

Hi Kevin,

The easiest way for us to check is if you will share the URL with issue.
In general, let’s say you are using Renew stack, it has 90px spacing in between. We can reduce it using custom CSS. See this: https://screencast-o-matic.com/watch/cqjQjFONNg

You may add it on Theme Options > Global CSS

.category .hentry,
.search .hentry {
    margin-top: 27px; /*Set this to your preferred spacing.*/
   
}

Hope this helps.

1 Like

This completely helps! THANK YOU!

The excerpt has too much of a gap above it too. How would I reduce that?

I got it! I had to reduce margin here. Took me a minute. :slight_smile:

.entry-content {
margin-top: 25px;
}

Hey Kevin,

We are just glad that you have figured it out a way to correct the said issue.
Thanks for letting us know!

Best Regards.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.