Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Different List Style for Specific Widget Boxes (http://forum.bytesforall.com/showthread.php?t=2096)

oz1 Jun 18, 2009 10:27 AM

Different List Style for Specific Widget Boxes
 
Hi, I had a question about list style in widget boxes. Right now, I have a default ordered list style for all widget boxes as set by the following code in css inserts:

.widget ul {
list-style-type: none !important;
line-height:24px;
padding-left: 0;
margin-left: 0;
}

.widget ul li {
background: url(http://www.bluefalconmarketing.com/i...ing-folder.png) no-repeat 0px 3px;
border-bottom:1px dotted #ABABAB;
padding-left: 28px;
margin-left: 0px;
display: list-item;
}

.widget ul li ul li {
margin-left: -5px;
}


My question was, how can I change the ul and li style for a specific widget box, is there a way to override the default for specific widget boxes? Thanks for any help you can provide.

Regards,
OZ

Flynn Jun 19, 2009 09:17 AM

Each widget should have an ID and/or class

div#recent-comments ul li {
...
}


All times are GMT -6. The time now is 03:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.