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*

hide category in cover posts

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #77214
    jschonfe
    Participant

    Good evening, I am using the Theme NewsCard free.
    How can I hide the categories in the publications?
    Can I select to display only one category regardless of the amount of category the entry had?

    #77215

    Hi @jschonfe,

    To show only one category, please go to ‘Appearance > Customize > Additional CSS’ and paste the below Custom CSS code.

    body:not(.single-post) .entry-meta .cat-links a:not(:first-child) {
    	display: none;
    }

    Thanks

    #77232
    jschonfe
    Participant

    Thanks for the prompt response.
    Only one correction, after the “none” goes “;” instead of “.”
    Thanks again.

    #77236

    Oops!
    So sorry for it. The Code is now corrected. Thank you for correcting us 🙂

    Please let us know if you have any queries regarding the Theme.

    Thanks

    #79166

    I’ve been modifying the code above in order to display no categories at all. My modification:

    body:not(.single-post) .entry-meta .cat-links {
    display: none;
    }

    It seems to work OK, but I just wanted to make sure it doesn’t damage anything else, since it’s my own modification…
    Can you please approve if the code is correct?

    #79173

    Hi mostinterestingpeopleinworld,

    Great! The code is correct and it won’t create any kind of issue for the Theme.

    Thanks

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