Archived topic
Make every background color diferent for each caregory
7 replies · Started by Rafael on November 14, 2017
Hey there,
is it possible to change the background color depending of the category you currently are?
I have the woo plugin and i want to have different background colors depending of the category the user is currently in.
Is it possible? tried using css but it isn't responding (tried with different classes)
example:
-category1: background color--> red
-category2: background color--> blue
etc...
Hi there,
Background color of the body?
Can you link me to a specific page where you would like to change it?
Thanks!
https://lalaik.com/categoria-producto/tecnologia/
https://lalaik.com/categoria-producto/accessories/
https://lalaik.com/categoria-producto/relojes/
Those three categories, i want to change the background color of each of them so they have an unique color. But still want the background color of the main page (lalaik.com) in white.
Try this CSS for the second category:
body.term-accessories {
background-color: #000000;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Then you just have to adjust the last word for other categories.
Cheers Leo it worked :)
No problem :)
hi,
just how can I change the background color of my homepage?
Thanks
Can you open a new topic as it's unrelated to this one?
Thanks!