[Resolved] Hide Categories once clicked on

Home Forums Support [Resolved] Hide Categories once clicked on

Home Forums Support Hide Categories once clicked on

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2267478
    Tristan

    Hi there,

    I’m wondering if it’s possible to hide certain categories once I click on one (homepage is setup as blog).
    E.g if I click on the C4D category I want it to only show the C4d label on posts once it goes into that category page.
    Is this possible?

    Thanks!

    Tristan

    #2267492
    Fernando
    Customer Support

    Hi Tristan,

    One approach to do it is through CSS.

    For instance, in the case of your C4D archive page, here’s a CSS you may try:

    body.category-cinema-4d .gb-button-wrapper > .gb-button.post-term-item:not(.term-cinema-4d) {
        display: none;
    }

    Kindly replace cinema-4d in the code with the category slug.

    Hope this helps!

    #2267499
    Tristan

    You’re a genius! Thanks very much

    #2267503
    Fernando
    Customer Support

    You’re welcome Tristan!

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