Change color of content area

  • 1
  • Question
  • Updated 6 years ago
  • Answered
Can anyone please tell me how I can change the color of the background of the content area. I don't want to change the actual website background, but rather the color of the content area where all the website content goes?
Photo of chad

chad

  • 6 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of Francois

Francois, Employee

  • 282 Posts
  • 19 Reply Likes
Official Response
Hi chad,

Here is the site wide CSS override you're looking for:



div#content {
background-color:#000000;
_behavior: url(http://s2.yolacdn.net/V0023207/template_resources/0/Nature_Impressions/resources/iepngfix.htc);
min-height:200px;
margin:0 auto;
text-align:left;
padding: 1em;
}


You will need to copy this to your Site CSS Overrides pane and save the change. To do this, click Style -> Edit Custom CSS. Remember to change the #000000 to a hexadecimal colour value of your choice.

Please let me know if this works for you.