Use live CSS to suppress category tag locally

Posted in: Newspaper
Post count: 80

How do I use live CSS to suppress the category tag on a block on which the tag is otherwise enabled (through the theme panel)?

Thanks!

  • This topic was modified 8 years by jauburn.
Post count: 20688

Hi,

Custom CSS can be entered either in the Live CSS, or theme panel custom code sections. The theme panel category tag setting will affect all the modules.

If you want to remove the category tag for only one specific module in a block and not the rest, you could first set a custom class for the block
https://www.screencast.com/t/5uxWsEfEA
Then refer to that class and remove the category tag only for that block
https://www.screencast.com/t/NIHDR7h4sp

.myclass .td-post-category {
display: none;
}

I believe that is what you want. Let me know if I misunderstand.

Thanks

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