Title: Image sprite CSS question
Last modified: August 20, 2016

---

# Image sprite CSS question

 *  [Exclusif](https://wordpress.org/support/users/exclusif/)
 * (@exclusif)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/image-sprite-css-question/)
 * Hi,
 * I have a nav menu with image sprites that is not behaving exactly the way I want.
   I’m using wordpress with skeleton theme. What I want is for #menu-item-131 to
   display a different image sprite from the rest of the navigation. Inspecting 
   with firebug reveals that as of now #menu-item-131 takes its style from #navigation
   ul li a. I’ve tried a lot of different things, even moving all navigation css
   except for #menu-item-131 to the non-child theme css file, but no luck. Below
   is the navigation css code.
 * Would really appreciate some help with this.
 * Thank you.
 * /Isak
 * _[CSS moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please just post a link to your site.]_

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

 *  Thread Starter [Exclusif](https://wordpress.org/support/users/exclusif/)
 * (@exclusif)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/image-sprite-css-question/#post-2805257)
 * > [CSS moderated as per the Forum Rules. Please just post a link to your site.]
 * I can’t post a link to my site since its not online yet.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/image-sprite-css-question/#post-2805260)
 * You should be able to style #menu-item-131 directly.
 *  Thread Starter [Exclusif](https://wordpress.org/support/users/exclusif/)
 * (@exclusif)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/image-sprite-css-question/#post-2805261)
 * #menu-item-131 has its own styling, but the background style of “#navigation 
   ul li a” is overriding the background style of #menu-item-131.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/image-sprite-css-question/#post-2805262)
 * `#navigation ul li#menu-item-13` will over-ride it.
 *  Thread Starter [Exclusif](https://wordpress.org/support/users/exclusif/)
 * (@exclusif)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/image-sprite-css-question/#post-2805265)
 * For some reason #navigation ul li#menu-item-131 is not overriding it.
 *  Thread Starter [Exclusif](https://wordpress.org/support/users/exclusif/)
 * (@exclusif)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/image-sprite-css-question/#post-2805271)
 * **#navigation ul li.menu-item-131 a ** solved it. Bit embarrassing, but im still
   learning.
 * Thanks for your help.

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

The topic ‘Image sprite CSS question’ is closed to new replies.

 * 6 replies
 * 2 participants
 * Last reply from: [Exclusif](https://wordpress.org/support/users/exclusif/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/image-sprite-css-question/#post-2805271)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
