Title: Double trouble
Last modified: August 18, 2016

---

# Double trouble

 *  Resolved [jayjerome](https://wordpress.org/support/users/jayjerome/)
 * (@jayjerome)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/double-trouble/)
 * Would someone be kind enough to explain what it means when code is ‘repeated’
   in a css.style sheet theme?
    Like this ‘double ul ul’ for instance:
 * ‘}
    #sidebar ul ul { list-style:none; margin:0.5em 0 0 1em; padding:0; }’
 * What’s the significance of the second ‘ul’ ?
 * (the expression preceding the one above is almost identical, but without the 
   repeated ‘ul’ and with the margin set to ‘0’)

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

 *  [theiconoclast31](https://wordpress.org/support/users/theiconoclast31/)
 * (@theiconoclast31)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/double-trouble/#post-477306)
 * So let’s say my sample HTML looks like this:
 * `<ul>
    <li>Papa John's</li> <li>Dominos</li>
 * `<li>
    <ul> <li>Mushrooms</li> <li>Pepperoni</li> <li>Tomatoes</li> </ul> </li
   >
 * `<li>Pizza Hut</li>
    </ul>
 * `ul { color: blue; }` would make _all the text_ blue, including “Papa Johns”,“
   Pepperoni”, “Pizza Hut” etc.
 * `ul ul { color: blue; }` would make _only the pizza toppings_ blue, NOT the pizzeria
   names.
 *  Thread Starter [jayjerome](https://wordpress.org/support/users/jayjerome/)
 * (@jayjerome)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/double-trouble/#post-477436)
 * ok, thanks for clearing that up for me — i appreciate the help…

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

The topic ‘Double trouble’ is closed to new replies.

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [jayjerome](https://wordpress.org/support/users/jayjerome/)
 * Last activity: [19 years, 6 months ago](https://wordpress.org/support/topic/double-trouble/#post-477436)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
