This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Siteorigin image – added bottom pixels?

8 years ago · Last reply by Alex S 8 years ago

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 our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. Alex S Staff 8 years, 3 months ago

    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. Reegad 8 years, 3 months ago

    https://1942mods.com/

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

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

  3. Alex S Staff 8 years, 3 months ago

    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. Reegad 8 years, 3 months ago

    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. Alex S Staff 8 years, 3 months ago

    Hi Reegad

    Unfortunately, that’s correct.

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

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.

Have a different question or issue?

Start New Thread