The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

WordPress – Page Colours

  • Wip
    # January 10, 2013 at 12:21 pm

    I am hoping that this is the correct place to ask! I am using WordPress Twenty Eleven. I have managed to change the colour of the front page but would like the other pages different colours. I cannot find where to do this ie where do I find each page and and change the hex? hope that makes sense.

    # January 10, 2013 at 12:30 pm

    I may be wrong but I think the default themes apply a class on the body element that will be different on every page, so that way you could target particular pages with your CSS by basing it on the body class, for example;

    body.theClassHere .elementYouWantToColour { color: red; }

    # January 10, 2013 at 12:34 pm

    Thanks Andy, where would I insert that line? Im probably being a bit dim. lol

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed