WordPress.org

Support

Support » Themes and Templates » [Resolved] Change color of one page

[Resolved] Change color of one page

  • walkerba2
    Member

    @walkerba2

    I would like to change the background color of one page on my website which uses the Frontier theme. Is there a way to do this for only one page and not all the pages? Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Rajesh Gupta
    Member

    @rajeshcvani

    You can try this code in style.css

    body.page-id-733 {
    	background: #000;
    }

    Change the page-id with the id of the page to be modified.

    walkerba2
    Member

    @walkerba2

    Great! Thanks for your prompt response. I found the page ID and entered the code with a different color. However, it changes the actual background that is on either side of the WordPress site (left and right). I would like to change the background color of where the text of the page is actually entered, and leave the side-bars as white. Is there a way to do this?

    walkerba2
    Member

    @walkerba2

    Okay, I actually figured it out myself. For those of you wondering how to change the color of the content box, it is here:

    #post-6925 .entry-content {
    	background-color: #00FF00 !important;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Change color of one page’ is closed to new replies.