Home › Forums › Support › Remove padding for a single right sidebar widget This topic has 1 reply, 2 voices, and was last updated 4 years, 1 month ago by David. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts February 19, 2019 at 9:08 am #814758 Remco Hi Guys, As the title states, I would like to remove the padding, but only for a single widget on the right sidebar. Could anyone point me in the right direction of how to acomplish that! Thanks 🙂 GeneratePress 2.2.2 February 19, 2019 at 9:51 am #814788 DavidStaff Customer Support Hi there, if it is the first widget then this CSS: .inside-right-sidebar .widget:first-child { padding: 0; } .inside-right-sidebar .widget:first-child img { vertical-align: middle; } The second rule is only required if it contains an image, it gets rid of some extra space below it. If its the second widget for example then the CSS selctor will look like this: .inside-right-sidebar .widget:nth-child(2) { Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In