Home>Support>Margin indented on WP Twenty-Seventeen theme by default

Margin indented on WP Twenty-Seventeen theme by default

Hi,
I’m using Twenty-Seventeen for a website. I posted on the WordPress forum who suggested it was a SiteOrigin query.

The left margin on the page differs to that on the theme preview. It appears indented on my site.
Layout of the row is set to full-width, no padding.

How to change the left margin so that it is aligned under the Home button – pic http://prntscr.com/dljxht

Page link: http://bit.ly/2h4oDvd
Thank you.

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, 9 months ago Alex S
    Hi, I Work Here

    Hi Mross55,

    Please open the first row by clicking the wrench icon above it. Head over to the row styles sidebar and open the Layout settings group. Set the row layout to standard.

    Now, the issue here is that Twenty seventeen has a very low max-width and a large amount of padding so this means that the menu can become “misaligned” like this (although it’s actually intentional).

    You can fix this with some custom CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Just add the following code.

    @media screen and (min-width: 30em) {
    	.page-one-column .panel-content .wrap {
    		max-width: 910px;
    	}
    }
    
    @media screen and (min-width: 48em) {
    	.wrap {
    		max-width: 1000px;
    		padding: 0;
    	}
    }
    

    You might also need to install the SiteOrigin CSS Editor.

  2. 7 years, 8 months ago mross55

    Thanks Alex – that worked for the Home page but not the others. on new host http://bit.ly/2ifwCHZ

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

    Hi Mross55,

    Try replacing the previously provided CSS with the following CSS:

    @media screen and (min-width: 30em) {
    	.site-content > .wrap {
    		max-width: 910px !important;
    	}
    	.site-content > .wrap .content-area {
    		max-width: none !important;
    	}
    }
    

    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