How To Remove Whitespace From Sidebar Image?
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
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.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Have a different question or issue?
Start New Thread
Replies
5Sorry, here is the link to the image: http://imgur.com/a/ITLZK
Hi BeamX1,
This spacing looks to be added by your theme. Please open the widget and tick Full Width. If that doesn’t help or it was already ticked, do you have a public URL where we can take a look at what’s going on?
Hey Alex,
I have the widget image setting to be full width already.
Here is my blog: https://ex-restart.de/blog/ …would be great if you could take a look.
The thing is, that I use your widgets on some of my other sites with another them too, and the developer of my theme helped mto to remove the white spaces so that is shows the full width image.
That was the code (but it’s not working on this theme):
#wrapper #sidebar .widget_sow-image .sidebar-widget-inner {padding: 0;} #wrapper #sidebar .widget_sow-image .sidebar-widget-inner a, #wrapper #sidebar .widget_sow-image .sidebar-widget-inner a img {display: block; padding: 0; margin: 0;}Would be great if you could help.
Thanks.
Hi Beam,
The theme you’re using is adding the spacing inside of the WordPress widget container. You can remove this padding with some custom CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Please add the following CSS:
.sAs #sow-image-2 .awr.scn { padding: 0; } #sow-image-2 .sow-image-container { line-height: 0; }This may look a tad odd though as other widgets in your sidebar will retain the padding. As such, if you would like all widgets to lose their padding, please add the following CSS instead:
.cnt .sAs .awr { padding: 0; }You might also need to install the SiteOrigin CSS Editor.
Hey Alex,
awesome man, your code works!
Thanks!
Best,
BeamX1
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.