IHeartOranges
Member
Posted 2 years ago #
Site: http://www.gameslowdown.com/
Normally I would use a plugin or find out how to do this but how can I add an image to the header behind the logo and change the color of the background on my site (link above) Games Lowdown? I'm using different image and colour per area (egPS3, Wii etc.) so I will need to change it on category pages, posts and normal pages. thanks, very grateful for your future help :)
Adam
Have a look at the body_class function.
Documentation is limited, but it may be useful for you.
http://codex.wordpress.org/User:Esmi/body_class
and this page has some nice details:
http://www.nathanrice.net/blog/wordpress-2-8-and-the-body_class-function/
IHeartOranges
Member
Posted 2 years ago #
unfortunately it's a little to limited on explanations, can someone explain or should I google it?
EDIT: the second link you posted after looks good I'll have to read through it but thanks :D
IHeartOranges
Member
Posted 2 years ago #
thanks esmi, just what I needed, but I don't see posts motioned, I assume that the category style affects the posts right? and would a parent category style affect a child category's style automatically too?
I assume that the category style affects the posts right?
Only on the category pages.
There's a complete list of the generated classes on that page.
IHeartOranges
Member
Posted 2 years ago #
oh whoops, thanks esmi awesome work! :D