Archived topic
padding
7 replies · Started by mohamedhassan on November 29, 2017
Hi there,
On my website's right sidebar, how can I make the padding zero only where the image of the ad be while keeping the rest of Widget Padding as it is?
https://gmkr.io/s/5a1ed8533dd946095dda5a2c/0
Regards,
Mohamed
Hi there,
Try this CSS:
#text-27 {
padding: 0;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
I used the css and it worked well then the padding comes back and no response!
The widget number changed from before.
#text-32 {
padding: 0;
}
Hi Leo,
really thanks for your support, however it seems that I'm bothering you as I see how different designs looks on my site what makes the padding disappear and I need to restore it.
So is it possible let me know how can I know the widget number my self to fix the issue when need?
Regards,
Mohamed
That's weird. The widget ID shouldn't keep on changing. Maybe the caching plugin is causing some trouble?
Using Chrome, you can right click on the widget and click Inspect then you should see the widget ID.
It would be something like this:
<aside id="text-38" class="widget inner-padding widget_text">
As you see right now is 38
Thank you very much Leo!
You’re very welcome :)