Custom backgrounds work with cats & pages but not posts?
-
Hello, with huge thanks for an amazing theme and previous advice given, I’m back struggling to get my site looking right and would be really grateful for a little more advice from experienced members.
I’m using Hueman 2.1.9 with child theme.
I have added different image backgrounds (tiled/repeat) for each page using:
.page-id-1{ background-image: url('https://sitename.co.uk/location/filename.gif') !important; background-repeat:repeat;
and a background image for each category using:
body.category-categoryname { background-image: url('https://sitename.co.uk/location/filename.gif'); background-repeat:repeat;
And whilst theres a lot of css it does seem to work.
However posts assigned to the categories do not show the relevant category background.
Posts will not have multiple categories so is there anyway I can achieve this? i.e.. posts in Category1 will all share the Cat1 background.
Although a novice I am trying to minimise my use of plugins.After searching and experimenting without success any advice would be really appreciated. Thank you all.
- The topic ‘Custom backgrounds work with cats & pages but not posts?’ is closed to new replies.