-
jamyeanna
Hi! I’ve chosen Newsroom as my Site from the site library and I like the different colors of the category tags when you look at the post grid on the home page (and all the category pages).
Rather than adding new categories I just started to rename the existing default categories (I figured that was easier than relinking menu items and elements to the category pages and such)
However, as soon as I change the name of the category, the colored category tag on the grid goes away and it’s just text. I didn’t touch any design yet or elements, so I can’t figure out what’s going wrong.
Thanks!
-
Hi there,
You would need to edit the CSS snippet below in Customizer > Additional CSS:
body:not(.single):not(.blog):not(.search-results) .post-term-item { border-radius: 3px; } body:not(.single) .post-term-item.term-business { background-color: var(--business); } body:not(.single) .post-term-item.term-community { background-color: var(--community); } body:not(.single) .post-term-item.term-education { background-color: var(--education); } body:not(.single) .post-term-item.term-entertainment { background-color: var(--entertainment); } body:not(.single) .post-term-item.term-lifestyle { background-color: var(--lifestyle); } body:not(.single) .post-term-item.term-technology { background-color: var(--technology); } body:not(.single) .post-term-item.term-travel { background-color: var(--travel); }
For example, if you edited the
business
category to befood
, then this line:body:not(.single) .post-term-item.term-business { background-color: var(--business); }
It would become this:
body:not(.single) .post-term-item.term-food { background-color: var(--business); }
The
background-color: var(--business);
doesn’t need to be edited unless you edit the name in the global color section as well: https://www.screencast.com/t/VwdrrZndRNULet me know if this helps 🙂
-
jamyeanna
Hi! That works great, thank you!
-
No problem 🙂
- You must be logged in to reply to this topic.