Home>Support>Customize Page builder widget-padding/margin

Customize Page builder widget-padding/margin

Hi, I need your help please.
1. On my website (http://www.kilian-gruppe.de/wp_kilian/index.php/referenzen ) I use Page Builder and visual editor to create text content. For every content container I created a row with a visual editor widget.
There I changed the widget style (“layout” to 50 px) which is too much. I only want that the text appear little bit under the menu and maybe 100px left from screen.
Thanks in advance.
D

URL: http://www.kilian-gruppe.de/wp_kilian/index.php/

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, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hi Davor

    It looks like you have the entire parent CSS file in your child style.css file. That can unfortunately cause issues on update. If we adjust an HTML element we might change the CSS to adapt to that change. If your child theme is overriding the entire parent CSS file it can lead to issues in this regard. The style.css file in your child is the same as Custom CSS. You only want your custom rules in there. Let me know if you need help recovering from this situation.

    To set padding under the menu you can rather target the #main div: In your child style.css file you’re setting #main padding to 2px. Try changing that to something like:

    #main {
    padding: 15px 2px 2px;
    }
    

    That reads 15px padding top and 2px for right, bottom and left. Left repeats the right value if not stated.

    In theory you could also use #main for left padding.

    @media (min-width: 780px) {
    #main {
    padding: 15px 2px 2px 15px;
    }
    }
    

    If you add left padding to #main you’ll probably want to remove it when the site is viewed on a mobile device, that’s why I’ve wrapped the rule in a media query.

    Hopefully I’m making sense :)

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