1. Home
  2. Knowledge Base
  3. Blog Theme Customizations
  4. Remove Comments Count from Recent Posts Sidebar

Remove Comments Count from Recent Posts Sidebar

NOTE: Starting with OptimizePress version 2.5.11 we introduced a newer theme that has a more modern design, faster loading pages, and better SEO. We would suggest trying out the new OptimizePress Smart Theme. If you have an active updates/support license you should see this in the members hub, along with a downloadable PDF step by step guide on how to use the new Smart Theme

We can no longer provide the older OptimizePress Theme files for download for new sites. If you have an existing site and need to re-install the theme files please contact our support team and they will gladly assist with that. For now, we will still provide updates and support for the older OptimizePress Theme

This guide is for the older OptimizePress Theme version and not for the new Smart Theme

OptimizePress includes a recent/popular posts widget which you can use to show your recent or popular posts on your sidebars of your blog

Some of our users have requested instructions on how to remove the comments counter from this sidebar.  This can be done with a little simple CSS.

Add the following code to OptimizePress > Blog Settings > Modules > Other Scripts > Custom CSS:

.miniposts p{display:none;}

This will hide the comments count from the sidebar posts element

To Remove the Recent Posts from Post Footer

Use this CSS:

.related posts li a: nth-child (3) {display: none;}

.related-posts ul li {min-height: 40px;}

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
Contact Support