badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

How can I hide category labels on posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #82828
    David Humphreys
    Participant

    Hi 🙂

    I’d like to be able to hide the category labels that appear above the title on post pages, basically, anywhere that a category label appears. How can I do this?

    http://www.birkenhead.news

    Thanks!

    Dave

    #82831

    Hi David Humphreys,

    Please go to ‘Appearance > Customize > Additional CSS’ and paste the below Custom CSS code.

    .entry-meta.category-meta {
    	display: none;
    }
    body.single .site-content .entry-meta.category-meta {
    	display: block;	
    }

    Thanks

    #82845
    David Humphreys
    Participant

    Thanks:)

    This mostly works, but the labels still show on the individual pages.

    This is OK, because the rest looks a lot less cluttered now 🙂

    #82981

    Ok if you want to hide them even on the Single (individual) Pages then you can ignore the second block of codes from the previous provided code and only use the first block of code as like below.

    .entry-meta.category-meta {
    	display: none;
    }

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.