Home › Forums › Support › How to change the padding in the right sidebar widget ? › Reply To: How to change the padding in the right sidebar widget ?
October 27, 2015 at 11:11 am
#148025
Lead Developer
Lead Developer
Each sidebar widget has 40px of padding (by default).
You can remove the padding from widgets using our Spacing add-on, but that will apply to all widgets.
To target a specific widget, you’ll need to find the ID of that specific widget using your browsers “Inspect Element” tool.
For example, our 30 Day widget on the right has this ID: text-6
So to remove the padding, I would add this CSS:
#text-6 {
padding: 0;
}
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development