How to make hidden category like "Featured"

Posted in: Newspaper
Post count: 21

Hi!
I have category which I want to hide so that this category tag will not appear on pages or blocks. How can I do it? Theme panel -> Categories -> Hide category… is not enough because it shows this category on blocks.

Post count: 35449

Hi,

If you want to hide a specific category on blocks you can use a custom css ,
for example I want to hide the category Travel -> https://www.screencast.com/t/sCinDIlcM
-> https://www.screencast.com/t/p6jk08Lu4E -> https://www.screencast.com/t/ICb5keRVOkK
.td-module-image a[href$="/travel/"],
.td-meta-info-container a[href$="/travel/"]
{
display: none;
}

All you need to do is to change the category in code and the background color will apply on that category.

Thank you for your understanding!

Post count: 21

Hi again,

How to I hide category from Flex Block 5?

Post count: 21065

Hello @jansuo!

Edit the page with the tagdiv Composer, click on the block and there you will have a setting for this: https://prnt.sc/gP_2RXiIhL7o

Thank you!

Post count: 21

Yes I know that but I mean if you want hide one particular category to not show up like “Featured” category.

Post count: 21

If I have category A and B and they show up with alphabet order. If A category is “only” technical and I dont want to show it to the readers I need to hide it that category B shows up.

Post count: 21065

Hello @jansuo!

You can filter the posts by category. If the primary category is not Featured Category, then it shouldn’t display.

Thank you!

Post count: 21

Sorry I mean that category tag near image. How do make your own “Feature” tag not to show in frontpage? This doesnt work:
.td-module-image a[href$=”/travel/”],
.td-meta-info-container a[href$=”/travel/”]
{
display: none;
}

Post count: 21065

Hello @jansuo!

Try to replace the line display:none!important;}

Thank you!

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.