Grow your CSS skills. Land your dream job.

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; }

    Wip
    # 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.

*May or may not contain any actual "CSS" or "Tricks".