Forums

Change Header Image For Individual Pages (7 posts)

  1. 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

  2. elfin
    Moderator
    Posted 2 years ago #

    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/

  3. 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

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    See this page.

  5. 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?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    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.

  7. IHeartOranges
    Member
    Posted 2 years ago #

    oh whoops, thanks esmi awesome work! :D

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.