Title: Change width submenu items?
Last modified: August 21, 2016

---

# Change width submenu items?

 *  Resolved [webblish](https://wordpress.org/support/users/webblish/)
 * (@webblish)
 * [13 years ago](https://wordpress.org/support/topic/change-width-submenu-items/)
 * Hi, any idea how to change the width of the submenu items of the dropdownmenu?
   Some menu items are a bit wider and get a line break.
 * I found a way to add some css to change the width of the list items (.nav ul 
   li), but the ul (.nav ul) doesn’t want to stretch…
 * BTW: my compliments for this great theme!

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years ago](https://wordpress.org/support/topic/change-width-submenu-items/#post-3685644)
 * Do you have a section of the dashboard to make CSS changes without editing the
   theme’s files?
 *  Thread Starter [webblish](https://wordpress.org/support/users/webblish/)
 * (@webblish)
 * [13 years ago](https://wordpress.org/support/topic/change-width-submenu-items/#post-3685646)
 * Ah, now I’ve found it:
 * – Look at the ID’s of the menu items, and add some CSS like this sample to the
   user CSS:
 * `#menu-item-305 ul,#menu-item-305 ul li {width:auto;}`
 *  Thread Starter [webblish](https://wordpress.org/support/users/webblish/)
 * (@webblish)
 * [13 years ago](https://wordpress.org/support/topic/change-width-submenu-items/#post-3685647)
 * And the Swift Basic theme does have a “User CSS” option.
 * Thanks anyway, Andrew!
 *  Thread Starter [webblish](https://wordpress.org/support/users/webblish/)
 * (@webblish)
 * [13 years ago](https://wordpress.org/support/topic/change-width-submenu-items/#post-3685651)
 * I also added a ‘min-width’ to prevent occasional word-breaks
 *  Theme Author [Satish Gandham](https://wordpress.org/support/users/gandham/)
 * (@gandham)
 * [13 years ago](https://wordpress.org/support/topic/change-width-submenu-items/#post-3685961)
 * Adjust the width and add this to user css
    .nav li:hover ul, .nav li:hover ul
   li:hover ul{width:440px!important}
 *  Thread Starter [webblish](https://wordpress.org/support/users/webblish/)
 * (@webblish)
 * [13 years ago](https://wordpress.org/support/topic/change-width-submenu-items/#post-3686006)
 * Thnx, Satish!

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

The topic ‘Change width submenu items?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/swift-basic/0.2.7/screenshot.png)
 * Swift Basic
 * [Support Threads](https://wordpress.org/support/theme/swift-basic/)
 * [Active Topics](https://wordpress.org/support/theme/swift-basic/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/swift-basic/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/swift-basic/reviews/)

## Tags

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

 * 6 replies
 * 3 participants
 * Last reply from: [webblish](https://wordpress.org/support/users/webblish/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/change-width-submenu-items/#post-3686006)
 * Status: resolved