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..
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?
https://1942mods.com/
You can see the items have an added 35px margin to the bottom
#pl-10 .so-panel {
margin-bottom: 35px;
}
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:
You might also need to install the SiteOrigin CSS Editor.
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…
Hi Reegad
Unfortunately, that’s correct.
We agree and this is something definitely we’re looking at changing shortly.