How to change category tag background on blocks?

Posted in: Newspaper
Post count: 11

Hi,

I guess I read somewhere over the forum that it was possible to change the category tag background on blocks, for it to match the category tag color on posts/blocks title (as now it is black, in a general way) but, I can’t find the thread where I saw that and how to achieve it.

Anyway, how could I modify the code to achieve that, please?

Just as a suggestion:-)): would it be possible to include in a future version/update that option when creating/setting a block (with a selectable option or through a class code)?

Thank you.

Post count: 22421

Hi,
Unfortunately there is no exact solution for this. There is a workaround though but it will grab other category tags as well so you will not have only 1 category tag anymore. This was a design choice made by the developers in order to prevent too many colors displayed on the homepage. This feature is already on our list of updates but it’s the developers decision if this will make it into the theme. Until such time, the only solution is presented here: https://forum.tagdiv.com/topic/conditional-post-title-coloring-dependant-on-category/page/2/
Hope this helps.
Thanks.

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