Home>Support>Boxed layout for content area only

Boxed layout for content area only

Is it possible to ha e the content area of the Vantage theme boxed with a white background while the rest of the site – masthead, footer, nav menu – full width?

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

  1. 7 years, 3 months ago Alex S
    Hi, I Work Here

    Hi Thom,

    This is kind of possible with CSS. To clarify, you’ll need to do a few things differently to do it (specifically, you’ll need to set a background color of the content area via CSS). Please navigate to WP AdminAppearanceCustomize, Theme SettingsLayout and set the Layout to Full Width. Now please navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Add the following CSS:

    #main.site-main {
    	max-width: 1080px;
    	width: auto;
    	overflow-x: hidden;
    	margin: 0 auto;
    }
    
    #page-wrapper {
    	background: #fff;
    }
    

    Adjust the background CSS to your desired background color. How does that look?

    You might also need to install the SiteOrigin CSS Editor.

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