change colour of individual category tag globally

Posted in: Newspaper
Post count: 8

Hi,

Please can you tell me how to change the colour of individual category tags.
I can see the css:
.td-post-category {
background-color:

but this sets the global colour. I want the colours of each category set in Theme Panel> Categories> Per category settings> CATEGORY TAG COLOR ON POST PAGE to continue throughout the site.

thanks

Post count: 20688

Hi,

That color will be displayed only on category and post pages. On the homepage the category tags will have a default color. You could change them in general as you mention, or maybe by block and module type. Use the browser inspector to identify the classes and experiment with custom code
https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Block can have custom classes set, you can use that as well to affect the tags more specifically.

Thanks

Post count: 8

Hi Simion,

Thank you for your reply. Can I just ask if I were to change them by module type will that allow me to show the category tags in different colours within that module or will it just allow me to change the colour of all tags in that particular module to one colour?

Post count: 20688

Hi,

That would allow to change the category tags for by module, it will not matter what actual category is displayed. Maybe there will be more options for the category tags in future updates, but I cannot say for sure.

Thanks

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