Title: horizontal menu nested list problem
Last modified: August 21, 2016

---

# horizontal menu nested list problem

 *  Resolved [Adam Blythe](https://wordpress.org/support/users/adsleeblythe/)
 * (@adsleeblythe)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/horizontal-menu-nested-list-problem/)
 * Hi,
 * I’m having trouble explaining what I need to do here but hopefully [my screenshot](http://twentyfourteen-cnet-training.com.gridhosted.co.uk/wp-content/uploads/2014/01/Screen-Shot-2014-01-08-at-15.00.31.png)
   will provide a good idea!
 * I want to expand the background of my sub menu items to fit the text within them.
   [Please take a look at what I want to achieve](http://twentyfourteen-cnet-training.com.gridhosted.co.uk/wp-content/uploads/2014/01/Screen-Shot-2014-01-08-at-15.00.311.png)(
   I quickly knocked this up in Photoshop).
 * I am using a child theme of twenty ten.
 * [Please visit my website](http://twentyfourteen-cnet-training.com.gridhosted.co.uk/)
 * Thanks for your help.

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

 *  Thread Starter [Adam Blythe](https://wordpress.org/support/users/adsleeblythe/)
 * (@adsleeblythe)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/horizontal-menu-nested-list-problem/#post-4482734)
 * I just added
 * `width:auto;`
 * to
 * `#access ul ul a {}`
 * and it is a step further in the right direction!
 * However, the backgrounds of the sub menu list items still don’t line up!
 *  Thread Starter [Adam Blythe](https://wordpress.org/support/users/adsleeblythe/)
 * (@adsleeblythe)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/horizontal-menu-nested-list-problem/#post-4482913)
 * I have only tested this is Firefox 26.0 and it works! Remember, I am using a 
   child theme of Twenty Ten. I simply added the following to my editor style.css:
 *     ```
       #access ul ul {
       	width: auto;
       }
   
       #access ul ul li {
       	width:100%;
       }
   
       #access ul ul a {
       	white-space: nowrap;
       	width:auto;
       }
       ```
   

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

The topic ‘horizontal menu nested list problem’ is closed to new replies.

## Tags

 * [auto](https://wordpress.org/support/topic-tag/auto/)
 * [list](https://wordpress.org/support/topic-tag/list/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [width](https://wordpress.org/support/topic-tag/width/)

 * 2 replies
 * 1 participant
 * Last reply from: [Adam Blythe](https://wordpress.org/support/users/adsleeblythe/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/horizontal-menu-nested-list-problem/#post-4482913)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
