• Resolved chotheamazing

    (@chotheamazing)


    From an old forum post here, I already found some code to add in the ‘Additional CSS’ to hide it on the slider. But I’ve been searching for hours and can’t find anything to mask or remove it from the recent posts and featured posts on the FOS (front of site).

    I’ve tried deleting code from the stylesheet, but it’s only removed the formatting for it and not the actual 0 comments itself.

    We are switching the from WP comments to disqus, so this counter isn’t taking disqus into account.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    Thank you for getting in touch with us.

    Please go to Appearance → Customize → Additional CSS and add the following css:

    .frontpage-featured-posts .entry-comments, .blog-feed .entry-comments {
        display: none;
    }

    This will display all comments section in Featured Posts and Recent Posts sections.

    Hope that helps.

    Best regards

    Thread Starter chotheamazing

    (@chotheamazing)

    That worked like a charm!

    One thing I noticed with this, it formats the entry data as
    Beauty, Featured, Reviews – by Jazz –
    So it’s leaving the extra hyphen, which I assume is attached to the author name rather than the date?

    I can live with this, just wasn’t sure which entry the second hyphen belonged to.

    Actually you can hide those hypens with this:

    .frontpage-featured-posts .entry-author + .sep, .blog-feed .entry-author + .sep {
        display: none;
    }

    Kind regards

    Thread Starter chotheamazing

    (@chotheamazing)

    Brilliant! Thank you very much. ??

    I am glad it is working out for you ??

    Would you please take some time out from your busy day to leave us a quick review?
    We’d really appreciate it ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Delete or Hide 0 Comments for Featured/Recent Posts’ is closed to new replies.