Home>Support>Siteorigin image – added bottom pixels?

Siteorigin image – added bottom pixels?

I am trying to have a full width image stretch across a page.
But no matter what dimensions i choose for the image, the widget seems to add some pixels to the bottom.

Original image at 1920x180px, siteorigin widget shows this as 1903×185 but the image itself is sized to 1903x178px..
Where are these added pixels coming from?

So i tried adding some height, now the original image is 1920x185px, widget shows it as 1903x190px and the image itself is 1903x185px..

The widget shouldn’t be adding pixels on its own?.. i can set the height for the widget to 178px but that’s gonna be a lot of work for something as simple as making your plugin not add unwanted pixels..

This is a free community support forum. Replies are not guaranteed. If you need professional email support, please purchase a SiteOrigin Premium license.

  1. 10 days, 5 hours ago Alex S Hi, I Work Here

    Hi Reegad,

    I’m not too sure what could be adding the additional pixels – they aren’t being intentionally added. Do you have a public URL where we can take a look at what’s going on?

  2. 10 days, 1 hour ago Reegad

    https://1942mods.com/

    You can see the items have an added 35px margin to the bottom

    #pl-10 .so-panel {
    margin-bottom: 35px;
    }

  3. 9 days, 12 hours ago Alex S Hi, I Work Here

    Hi Reegad,

    Ah. That’s standard widget bottom margin that’s applied to all widgets. This can be overridden globally or with CSS.

    For the former, please navigate to WP AdminSettingsPage Builder and open the Layout tab. Set the Row/Widget Bottom Margin to 0. Please note that this will also affect rows.

    For the latter, please add the following CSS to WP AdminAppearanceCustom CSS:

    #pl-10 .so-panel {
        margin-bottom: 0 !important;
    }
    

    You might also need to install the SiteOrigin CSS Editor.

  4. 9 days, 1 hour ago Reegad

    So its not possible to have the 35px margin on all widgets except a few? you gotta disable it on the entire page or website and then add it back to the ones you need it to?

    Seems unnecessary complicated to remove the 35px bottom margin from just 1 single widget.

    But i’ll go ahead and remove the 35px bottom margin for the entire page and then add it back to all 12 widgets except the one i don’t want it added to…

  5. 8 days, 11 hours ago Alex S Hi, I Work Here

    Hi Reegad

    Unfortunately, that’s correct.

    We agree and this is something definitely we’re looking at changing shortly.

Please log in to post on our forums. Signing up is free.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More