Title: Submenu length
Last modified: April 26, 2019

---

# Submenu length

 *  Resolved [steve92](https://wordpress.org/support/users/steve92/)
 * (@steve92)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/submenu-length/)
 * I put this css to check the length of the submenus. When a submenu is active 
   and I place the cursor over it: hover shows me the original length.
    I can’t 
   get whidt to this: hover
 *     ```
       /* Box sottomenù */
       .sub-menu {
           width: 150px !important;
       }
       ```
   
 * ![](https://i0.wp.com/i65.tinypic.com/2hx4qpu.png)

Viewing 1 replies (of 1 total)

 *  Theme Author [ThemeZee](https://wordpress.org/support/users/themezee/)
 * (@themezee)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/submenu-length/#post-11480671)
 * Hi there,
 * Thanks for using Donovan.
 * I highly recommend to read the code in the style.css of Donovan when you want
   to customize the default styling. That way you can find out the right selectors
   to override. You can also use the browser dev tools to do that.
 * Using random classes like .sub-menu might work occasionally, but will cause these
   side effects.
 * In order to adjust the width of the drop down menus, you can use the same selector
   and property as the default styling of Donovan:
 *     ```
       .main-navigation-menu ul a {
           min-width: 150px;
       }
       ```
   
 * Best,
    Thomas

Viewing 1 replies (of 1 total)

The topic ‘Submenu length’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/donovan/1.9.3/screenshot.jpg)
 * Donovan
 * [Support Threads](https://wordpress.org/support/theme/donovan/)
 * [Active Topics](https://wordpress.org/support/theme/donovan/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/donovan/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/donovan/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ThemeZee](https://wordpress.org/support/users/themezee/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/submenu-length/#post-11480671)
 * Status: resolved