Home>Support>Need unique page background color

Need unique page background color

By devan, 8 years ago. Last reply by devan, 8 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

I have a problem that’s driving me nuts.

(1) I’m designing a simple test website on the local host using the Vantage theme. There’s a Home page and 3-4 other pages. I need to have a unique page background color for just 1 page. The rest will have the same color.

(2) Here’s how I proceeded.

(a) I used the Siteorigin CSS editor to set the background color of all pages to a gradient color.
The code is
#main.site-main {
background-color: #bfdef2;
/* fallback for old browsers */
background: -webkit-linear-gradient(to right, #bfdef2 , #F8FFAE 85%);
/* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #bfdef2 , #F8FFAE 85%);
/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

(b) I then opened one of the pages and set its background color to lilac. I clicked on the Customize button. I selected Theme design -> Page -> Page background. I then selected a lilac color with hex code #c2a1e2, and saved the change. But nothing happened. The Home page and all other pages continued to have the gradient color set in the Siteorigin CSS editor.

(c) However, the moment I deleted this code from the CSS editor, and saved the change, all page backgrounds got set with the lilac color.

So, the CSS edito setting overrode the Customize setting.

(3) But what I need is (a) an individual color like lilac for just 1 page and (b) a gradient color for all other pages.
How do I get this ?

I know the solution must be pretty simple but I’m just starting out !

Please help!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 6 months ago devan

    Hi,

    I find you've taken my thread off your support forum ?
    It was up for some time "pending approval".
    Was there something wrong in the way I presented it ?

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More