Show only selected category tags on modules/blocks

Posted in: Newspaper
Post count: 13

Hi there,

I want to use the category tag on modules/blocks to identify Premium videos on my website. The way I want to achieve this is by using custom CSS to hide all the category tags except for the category called premium with its specific ID (which is 25).

Would this be possible?

If there is an easier way to use overlay banners or tags on thumbnails to identify Premium content for my users, then I would be happy to hear about this of course!

https://forum.tagdiv.com/category-tag-on-modulesblocks/

Best wishes,
Joram

Post count: 35449

Hi,

I think that you want too use the category as a “tag” for new, unfortunately for the moment our theme do not have this option, I think this will be add in the coming updates.
If this is not what you mean, please provide some more details.

Thank you!

Post count: 96

Hi, how can I hide all the category tags except for the category called premium. @Joram and @Calin

Post count: 35449

Hi Revive the Netherlands,

The solution provide in this topic -> https://forum.tagdiv.com/topic/website-is-getting-slower/ is no longer working?
Please provide a link to your website to can make a new css for your website.

Thank you!

Post count: 96

It is for the website geloofsinspiratie.nl
I want to show only the subcategory/category tag PREMIUM on posts. On all devices.
I currently turned off most of the Category tags.

Post count: 35449

Hi,

Please try this custom css
.td-module-meta-info a[href$="/?cat=45"] {
display: block!important;
}
.td-module-meta-info .td-post-category {
display: none!important;
}

Hope this will help you!

Post count: 96

It is not working. -> https://imgur.com/ldPHJWE I only want to show the(sub)category tag PREMIUM if the posts are in that subcategory on all blocks. Other category tags hidden.
I made a lot of PREMIUM subcategory tags -> https://imgur.com/2zqPV9N
Because otherwise the PREMIUM posts will not be showed on category pages.

Post count: 35449

Hi,

The code is not working because your permalinks, please change theme from plain -> https://i.imgur.com/b5auUUr.png after you change them, clear all cache and set this code in theme panel> custom code> custom css
.td-module-meta-info a[href$="/?cat=premium"] {
display: block!important;
}
.td-module-meta-info .td-post-category {
display: none!important;
}

Also please note that the theme do not have an option for this, and this is a custom work. If you using the permalinks on plain the custom css will not work correctly.

Thank you!

Post count: 96

I did those steps. It is not working.
Domain: geloofsinspiratie.nl

Post count: 35449

Hi,

Please try this code
.td-module-meta-info a[href$="/premium-geloof/"] {
display: block!important;
}
.td-module-meta-info .td-post-category {
display: none!important;
}

Also is look that the slag category is not “premium” is “premium-geloof” -> https://i.imgur.com/N3CBiBv.png

Thank you!

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