Archived topic
Setting for Specific Widget
9 replies · Started by Thanesh on June 16, 2017
Hi,
How do I adjust spacing for specific widget?
Let say for newsletter form widget in this site --> http://blog.duaminit.com/
Thank You
Hi there,
They are all slightly different. For the newsletter one, try this:
.widget-area .widget.widget_mc4wp_form_widget {
padding: 20px 20px 20px 20px;
}
The notation is top, right, bottom, left.
Let me know.
Hi Leo,
That was perfect! Now I know how this stuff work.
Thanks a lot. :-)
You're welcome :)
Hi Leo,
I had added HTML image to the widget. How do I adjust spacing aroud image for this type? I need image to fill up the widget without any spacing.
http://blog.duaminit.com/ ---> the first image widget
Can you please advice?
Try:
.sidebar #text-3 {
padding: 0;
line-height: 0;
}
Hi Leo,
All are good, but there is a small white spacing below the image. How can I fix that?
Thank You
Edited the code above: https://generatepress.com/forums/topic/setting-for-specific-widget/#post-335526
Hi Leo,
Thank you so much. That code is working. :-D
No problem!