Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Different List Style for Specific Widget Boxes


  #1  
Old Jun 18, 2009, 10:27 AM
oz1
 
3 posts · Jun 2009
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
  #2  
Old Jun 19, 2009, 09:17 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Each widget should have an ID and/or class

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

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to style a specific text widget ciocchi Sidebars & Widgets 5 Aug 10, 2010 03:21 AM
[SOLVED] List style types mlamkin New Versions, & Updating 1 Jul 14, 2009 12:10 PM
"Recent-comment" widget (list style) cosmiclove Sidebars & Widgets 5 Jul 13, 2009 06:05 PM
Making one specific widget different than the others. Nourdmrolnmt1 Sidebars & Widgets 0 Mar 26, 2009 08:51 PM
Widget style causing ugly display of widget list, breaks at special characters wfzimmerman Sidebars & Widgets 1 Mar 20, 2009 03:31 PM


All times are GMT -6. The time now is 02:45 AM.


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