custom padding for box

January 2013 WordPress Theme
GK User
Thu Dec 04, 2014 1:51 pm
Can you pls tell me how to specify that widget has custom padding? By default is 20 px, but I want for specified widget to have 0?
User avatar
Junior Boarder

GK User
Thu Dec 04, 2014 3:54 pm
Hello,
Please check this article to find out how to add cusotm css class into your widget:
https://www.gavick.com/blog/gavernwp-qu ... fications/
i.e. class "clear"

Then, add the following code into the theme’s css/override.css file (make sure to enable the “Use the override.css file” option in Template options > Advanced in the WordPress backend)
Code: Select all
.box.clear {
padding: 0;
}
User avatar
Moderator


cron