This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

styling body content area

10 years ago · Last reply by Magus 10 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

2
  1. Vince Ng 10 years, 9 months ago

    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. Magus Staff 10 years, 9 months ago

    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.

Have a different question or issue?

Start New Thread