Widget style

January 2013 WordPress Theme
GK User
Thu Mar 21, 2013 11:39 pm
Can you please tell me how to define widget style? With each widget I have some style provided and I would like to put more styles but am not sure where to look for help about that.
User avatar
Fresh Boarder

GK User
Fri Mar 22, 2013 9:27 am
Hi,

In general you have to create a specific class i.e. myclass and use it with the .box class for styling the elements. Example CSS selectors:

Code: Select all
.box.myclass .box-title {}

.box.myclass a {}

.box.myclass a:active,
.box.myclass a:focus,
.box.myclass a:hover {}

.box.myclass li {}


then you can use your own style specyfing the Custom CSS class in the Widget Rules.
User avatar
Administrator


cron