Styling a widget
-
Hello everyone!
I’m designing a theme and I’ve got a trouble:
there’s no separate DIV‘s for widget title and widget body (actual content).
I think it’s a real issue for designing a look of a widget.
For example, I want different backgrounds for widget title and widget content,
or different padding, margin, etc.
We have a good class .widgettitle for styling a title, but it would be great to have a class like .widgetcontent for styling a widget content.
Right now I’m styling widget titles and UL‘s for widgets like recent-posts and archives. But many widgets (eg. tag_cloud) don’t have a class for its content.Any solution to that?
Thanks in advance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Styling a widget’ is closed to new replies.