Home>Support>styling body content area

styling body content area

By Vince Ng, 10 years ago. Last reply by Magus, 10 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].

Hi. I am still quite new to these css style and I am trying to make the wrapped content area to white color with dark grey border, so that it looks boxed up.

By looking at the developer source code, I added these to custom css.

#primary.content-area {
background-color: #ffffff;
border-style: solid;
border-color: #545454;
}

The background color did changed, but not the border color. I am probably not doing it right. Any advise? Thanks in advance!

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

  1. 10 years, 2 months ago Vince Ng

    Ah.. Finally got it. Used this instead.

    #primary.content-area {
    background-color: #ffffff;
    border: 1px solid #545454;
    }
    

    But do let me know if there’s a better way. Thanks!

  2. 10 years, 2 months ago Magus
    Hi, I Work Here

    Hi Vince

    You could have used

    #primary.content-area {
    background-color: #ffffff;
    border-style: solid;
    border-color: #545454;
    border-size: 1px;
    }
    

    which is how your single line entry for the border would be processed.

    Magus

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