• I am trying to change the content background of a single page of the pinboard theme, but I can’t succeed with this. I tried to find the code which changes the content background in the css file .entry, #comments, #respond, #posts-nav {background:fff
    style.css:1269

    but when I change the color nothing happens. Can someone help me with this one? Thank you.

Viewing 1 replies (of 1 total)
  • What you need to do is use the body class.

    1. Go to the page you want to edit
    2. Look at the html source code and locate the <body> tag
    3. In the body tag, you’ll see that all pages have a bunch of class, one of which has an id number, like page-id-11 for example
    4. In your CSS you want to use something like this:

      .page-id-11 #content {background: #fff;} or whatever colour you want.

    If that doesn’t work, please provide a link to your site so we can see what’s going on.

Viewing 1 replies (of 1 total)
  • The topic ‘Change the content background of a single page – Pinboard theme’ is closed to new replies.