How to remove category headings and comments

Hello,

Please could you let me know how I can:

  1. prevent the category heading from appearing above each post on the homepage
  2. prevent the “No comments yet” text from appearing below each post on the homepage

I have read through the other threads on here and tried adding the following under Custom CSS but they haven’t worked:

article li.cat-item {
display: none;
}

.main-content-area .cat-title {
display: none;
}

body.blog .entry-footer span.comments-link {
display: none;
}

body.archive.category #main > header.page-header,
span.comments-link {
display: none;
}

If you can help that would be much appreciated. My site is www.generallyoutdoors.com

Thank you

Hi @jenh,

I hope you are well today and thank you for your question.

The above CSS code should work fine but it seems this is not working on your site because you are using following wrong code in your site custom CSS section.

.navbar-brand {
    color: #636467;
    font-size: 40px;

.tagline {
    color: #636467;
    font-family: 'lora', serif;

Please try changing above CSS code as following.

.navbar-brand {
    color: #636467;
    font-size: 40px;
}
.tagline {
    color: #636467;
    font-family: "lora", serif;
}

If still the code doesn’t work for you then try adding it at the top of your custom CSS code.

Best Regards,
Movin

Thank you so much, that all works now :slight_smile:

You are most welcome here :slight_smile: