How can I hide categories in posts and widgets?

  • Unknown's avatar

    I group posts in widgets by category. But I don’t actually want the category to display.

    This coding has been added to my CSS –
    .entry-cats {display: none;}
    but all the categories are still displayed.

    Also, in the WP Admin > Settings under Enhanced Feeds I cleared the checkbox ‘Categories’. Not sure if that really has anything to do with it.

    What else do I need to do to hide the categories?

    Thanks for your help.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there, looking at the CSS with the web inspector in my browser indicates we need to get a little more specific with the selector. Give the following a try to hide the categories on your main page.

    .rp-medium-two-content .entry-cats {
        display: none;
    }

    The list of options under Enhanced Feeds, are only for the RSS feed, not for the site itself, so no, it would not have any effect on the front page of your site, only on what would show up in your RSS feed.

  • Unknown's avatar

    Perfect! That was it. Thanks.

  • Unknown's avatar
  • The topic ‘How can I hide categories in posts and widgets?’ is closed to new replies.