Archived topic
How to remove the padding of just one widget in the sidebar
5 replies · Started by Satori on February 4, 2018
I'm using the widget text in the sidebar to add my AdSense code. Anyway the widget area has some padding assign, which is great for other widgets. But for this particular use case I need to completely remove it from this one, so AdSense can display a much more appealing ad block.
Is there some way to do this?
Hi there,
Try this CSS:
.widget-area #text-4.widget {
padding: 0;
}
Thank you Leo, this does the trick.
No problem!
Hi,
I try the code but it do nothing, it's specific to his widget?
It's possible to deactivate padding to all text widget?
Hi there,
can you raise a new topic please. It makes it easier for us to track and follow up. :)