WordPress.org

Ready to get started?Download WordPress

Forums

Different background per page (content area) ? (2 posts)

  1. LaCamie
    Member
    Posted 1 year ago #

    I have an static homepage: Home/Blog/Gallery/ About/Contact
    Pages in content area is in white background color, but i would like to have dark grey on all pages addition to BLOG page (this i will keep in white background)
    Is it possible to do?
    Thankful for help!!

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    might be easily possible if your theme uses body_class()

    http://codex.wordpress.org/Function_Reference/body_class

    this would output page specific css classes into the body tag, which you can use to style the backgrounds.

    check header.php of your theme, and/or use a browser inspection tool such as Firebug to investigate the css classes of your site.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.