Title: CSS layout for &lt;LI&gt;
Last modified: August 18, 2016

---

# CSS layout for <LI>

 *  Resolved [cpjolicoeur](https://wordpress.org/support/users/cpjolicoeur/)
 * (@cpjolicoeur)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/css-layout-for-ltligt/)
 * My site I’m working on is here: [http://celtics.twistshow.com](http://celtics.twistshow.com).
 * I have the Democracy AJAX Poll plugin running in my sidebar. What I want to do
   is remove the list-style-image from the <LI> items in the plugin code that i 
   have associated with all the other <LI> tags on the sidebar. I’m not sure of 
   the CSS code to accomplish this.
 * the poll is in its own div id=”democracy” tag
    The actuall poll and options are
   in their own
 * ul
    li li ul tags. I want the
    -  items in the #democracy id div to not have an image at all.
       I tried this
    - #democracy ul li {
       list-style-image: none; }
    - but that didn’t work. I’m not a CSS genious so any help would be appreciated.
    - Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/css-layout-for-ltligt/#post-268289)
 * Try
 * #democracy ul {
    list-style-image: none; }
 * w/o the li.
 * I did something similar, where I used
    #sidebar ul {list-style-type: none;} to
   get rid of all of the bullets in my side bar….
 * then used
    #pages li {list-style-type: square;} and #categories li {list-style-
   type: square;}
 * to turn it back on for inner elements (where #pages and #categories are ul ids
   for their respective sections).
 * -tg
 *  Thread Starter [cpjolicoeur](https://wordpress.org/support/users/cpjolicoeur/)
 * (@cpjolicoeur)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/css-layout-for-ltligt/#post-268293)
 * so you turned off images for all sidebar lists with the
 * #sidebar ul
 * and then you edited your code to to make the categories ul have its own id as
   in ul id=categories
    ??
 * not sure if i’m following.
 * If I simply use
 * #democracy ul {list-style-image: none; }
 * i’m still getting the image.
 *  Thread Starter [cpjolicoeur](https://wordpress.org/support/users/cpjolicoeur/)
 * (@cpjolicoeur)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/css-layout-for-ltligt/#post-268299)
 * #sidebar ul ul li, #sidebar ul ol li {
    margin: 3px 0 0; padding: 0; list-style-
   image: url(/wp-content/shamrock.gif); }
 * this is what is causing the problem, cuz the ul in the #democracy div falls into
   the same category and i can’t seem to override it.
 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/css-layout-for-ltligt/#post-268302)
 * Found it…
 * #sidebar #democracy ul li{
    list-style-image: none; list-style-type: none; }
 * will work.
 * -tg
 *  Thread Starter [cpjolicoeur](https://wordpress.org/support/users/cpjolicoeur/)
 * (@cpjolicoeur)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/css-layout-for-ltligt/#post-268304)
 * perfect. that did it! thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘CSS layout for <LI>’ is closed to new replies.

## Tags

 * [li](https://wordpress.org/support/topic-tag/li/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [cpjolicoeur](https://wordpress.org/support/users/cpjolicoeur/)
 * Last activity: [20 years, 8 months ago](https://wordpress.org/support/topic/css-layout-for-ltligt/#post-268304)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
