WordPress.org

Forums

Frontier
[resolved] Change color of one page (4 posts)

  1. walkerba2
    Member
    Posted 1 year ago #

    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!

  2. Rajesh Gupta
    Member
    Posted 1 year ago #

    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.

  3. walkerba2
    Member
    Posted 1 year ago #

    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?

  4. walkerba2
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.