Support » Themes and Templates » Change Background Container On Page Only

  • Resolved centraloverland



    This is my page:

    I’d like to change everything you see in white to black. For this page only.

    I learned how to add the css syntax to make the larger background gray:

    <?php if (is_page(‘1664’) ):
    // page 1664 ?>
    <style type=”text/css”>
    body {background-color:#505050;}

    …But I’m having a terrible time getting the container to comply. Any help from you syntax pros out there?

    Thanks a million!


Viewing 2 replies - 1 through 2 (of 2 total)
  • dadman


    If you add this code to the above code, beneath the body line it should do the trick.
    div#container {background-color: #505050;}
    Your white sheet will turn black, and because you add it to the above code, it will only be black at this particular page.



    That did the trick! I see what I was doing. Totally makes sense.

    Thanks so much!

    Case closed. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Background Container On Page Only’ is closed to new replies.