Home>Support>Site-Origin Layout Builder – mobile friendly?

Site-Origin Layout Builder – mobile friendly?

Hi
I’m using the Layout Builder tool but in my own custom designed theme. is there anyway to make the results more mobile friendly? The mobile experience has a ton of white space, the images aren’t resizing, etc. Any suggestions? I tried looking in the forums but I mostly found postings about vantage premium

thank you!

URL: http://marsmerize.com/home_test/

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

  1. 9 years, 13 days ago Andrew Misplon
    Hi, I Work Here

    Hi Mitzi

    Thanks for reaching out.

    Page Builder looks to be running responsively as per usual. Fixing these last few issues will come down to CSS. Here is a quick example:

    <div style="margin-left: 200px;margin-right: 200px;padding-top: 40px;" class="panel-widget-style">
    

    That’s inline CSS you’ve inserted into the first Headline widget. Those margins don’t work on mobile. You’d need to rather add a CSS class to that widget via the Attributes tab and then wrap those styles in a media query:

    /* Page Builder Styles */
    
    @media (min-width: 680px) {
    
    	.custom-headline {
    		margin-right: 200px;
    		margin-left: 200px;
    		padding-top: 40px;
    	}	
    
    }
    

    Using your browser’s developer extension you’d need to work through each page as I’ve done with that first widget and figure out where the unnecessary padding is coming from.

  2. 9 years, 13 days ago Mitzi Reaugh

    thank you

    In the attributes tab on pagebuilder to do i simply enter:
    custom-headline
    ?

    I’ve worked in html/css before but i’m not clear how to implement the attributes in pagebuilder widget class

    thanks

  3. 9 years, 13 days ago Andrew Misplon
    Hi, I Work Here

    That’s it. Just enter

    custom-headline
    

    With no period in front of the class name.

  4. 9 years, 13 days ago Andrew Misplon
    Hi, I Work Here

    For more on how row attributes are applied, please, see my run through here:

    Thread: How do Page Builder row attributes work – row class, cell class and CSS styles

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