Answer the question
In order to leave comments, you need to log in
How to make normal display of different style on different pages/categories?
My goal is to make certain categories show a certain style.
So, the BODY tag picks up the category class.
The code:
.category-customstyle #header { background-color: #310062; }
- works .category-customstyle .page-title {background: #464646;}
.category-customstyle .page-title span { color: #fff; }
.category-customstyle body {background-image: url(xxx);}
does not want to work Answer the question
In order to leave comments, you need to log in
Instead
of .category-customstyle body {background-image: url(xxx);}
Try
body .category-customstyle {background-image: url(xxx);}
For first you need to write selectors (tags) and only then classes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question