Removing "no comments yet" (7 posts)

  1. basereader42
    Posted 1 year ago #

    I'd like to stop the "no comments yet" link from appearing on my site. I've removed "comment" and "reply" capabilities, but "no comments yet" continues to display.

    Thanks in advance for any help and for developing an outstanding theme.

  2. Murdok
    Posted 1 year ago #

    To remove the comments area and comment count above posts I used the following CSS:

    .entry-meta .info-comment,.entry-meta.entry-meta-tertiary,#respond.comment-respond,#comments.comments-area{display:none !important;}

  3. ggam
    Posted 1 year ago #

    If you just wish to remove "no comments yet" then CSS is:

    .entry-meta .info-comment,.entry-meta.entry-meta-tertiary {display:none !important;}

  4. basereader42
    Posted 1 year ago #

    Great, thanks for the correct CSS!

  5. propel25
    Posted 11 months ago #

    on which php file do we add the css above, page.php, theme.php etc??

  6. readallablogit
    Posted 10 months ago #

    You'd add this in the styles.css document.

  7. esmi
    Forum Moderator
    Posted 10 months ago #

    @readallablogit:Thank you contributing to the forums but please do not encourage people to edit theme files directly. At best, they will lose all of their changes when they update the theme. At worst, they could bring their site down. They should be recommended to create a child theme or use a custom CSS plugin for their changes.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.