Hi all,
Need a little help with some php/css, I'm quite new to wordpress and I'm not sure how to do this. Here's what I want to do:
I have set up pages (and sub-pages thereof) for different sections of the website e.g. about, products, services, contacts etc. (Sorry I can't show anyone coz i'm running it off XAMPP) Each section needs to be a different colour therefore will require a separate stylesheet (I need to do it this way as I may need to add subtract colours). Is there a php call that you can stick in the header that will, say, if the page name (or parent) is 'about' then it'll use stylesheet 'x-green.css' or if the page name (or parent) is 'products' it'll use 'x-orange.css'? I've got 6 colours in all to go thru :(
Any help here would be greatly appreciated.
Thanks in advance for anyone willing to help me with this.
Phil