Hello all, and a happy new year!
I looked through the support issues and couldn't find an answer, here is my question:

Could you please advise me on how to change the background color of the whole website based on a url/page?

I managed to change the background color of a view, but this changes the color of the view part/content only, not the whole website. I did it through the style.css file.

history:
I am working on a website using this awesome theme, and it consists of a main site(homepage), and 2 special "pages". I already figured out their taxonomy and managed to display the proper content per category, and displayed the proper views accordingly.

One of the requirements is to change the background color of the whole website once a certain page/url is accessed, which is, let's call it "restore 1", and if the user accessed "restore 2", the whole website's background color needs to change automatically to a different color. The main website should stay white.

This site is not live, but should go live by the end of the month. At these last stages, the only problems I am facing is this one, and a compatibility issue with ie8,7,6 with the menus which appear hidden, but I won't discuss it in this thread since its a different issue.

Appreciate all your support,
Thanks!

P.S. I've been googling myself away for the past few weeks trying to find a solution but no success, so I decided to contact you.

Comments

zinasahib’s picture

Any answer????