Home>Support>Padding Between Widgets in the Same Row + Column

Padding Between Widgets in the Same Row + Column

I’m trying to decrease the “white space” between a visual editor widget and a siteorigin social media widget on my About page (located on R side). Tips?

I’m very new at this so just learning how a lot of this works.

Thanks,
Mike

URL: http://www.mikeirr.com/about/

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 Mike

    Each cell has a bottom margin of 30px. Because we’re looking to decrease just one cell’s bottom margin in a row it’s a little tricky.

    I think the easiest will be to do this:

    1. Edit the widget in question, click Attributes and insert the following class name:

    custom-margin
    

    2. Go to Appearance > Custom CSS and insert the following to target that class:

    /* Page Builder Custom Styles */
    
    .custom-margin {
    margin-bottom: -25px;
    }
    

    Adjust the above value as required.

    Hope that helps.

  2. 9 years, 3 months ago Michael Irr

    Worked great. Thanks.

    Would I be able to do this for all widgets?

    Mike

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

    Ahh ok, that makes things much easier. To do this for all widgets in a row rather follow these steps:

    1. Add the following to Custom CSS:

    /* Page Builder */
    
    .widget-custom-margin .panel-grid-cell .so-panel {
      margin-bottom: 5px !important;
    }
    

    Edit as required.

    2. Edit the row in question by clicking wrench icon far right > Edit Row > Attributes, enter the class name in the Row Class field:

    widget-custom-margin
    

    Now all widgets in that row get the custom margin.

    Hope that helps.

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