Title: Menu expand on hover
Last modified: March 21, 2018

---

# Menu expand on hover

 *  Resolved [notevenbuttery](https://wordpress.org/support/users/notevenbuttery/)
 * (@notevenbuttery)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/menu-expand-on-hover/)
 * I tried the following and the menu still does not expand on hover:
    #header-menu.
   menu-item-has-children:hover > ul.sub-menu { display: block; }
 * Any suggestions?
    Thanks

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

 *  [Miha](https://wordpress.org/support/users/mplusb/)
 * (@mplusb)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/menu-expand-on-hover/#post-10102659)
 * Hello [@notevenbuttery](https://wordpress.org/support/users/notevenbuttery/),
 * Thank you for reaching out to us!
    Could you please send me your website’s url
   to take a look and investigate this a bit?
 * Thank you,
    Mihaela
 *  Thread Starter [notevenbuttery](https://wordpress.org/support/users/notevenbuttery/)
 * (@notevenbuttery)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/menu-expand-on-hover/#post-10106281)
 * [http://cryptohappening.com](http://cryptohappening.com)
 *  [Miha](https://wordpress.org/support/users/mplusb/)
 * (@mplusb)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/menu-expand-on-hover/#post-10114731)
 * Thank you, [@notevenbuttery](https://wordpress.org/support/users/notevenbuttery/)!
   
   Have you added this code in Appearance > Customize > Site settings > other options?
 *     ```
       #header-menu .menu-item-has-children:hover > ul.sub-menu {
           display: block;
       }
       ```
   
 * I could not find the code in the css of theme and I have just checked and it 
   works if you add it. See my screenshot with the code added: [https://gyazo.com/45b78e4e4d863768838eb54e0b3b7599](https://gyazo.com/45b78e4e4d863768838eb54e0b3b7599)
 * Please give it another try following my instructions and see if it works afterwards.
   
   Please also clear your cache in order to see the change.
 * All the best,
    Mihaela
 *  Thread Starter [notevenbuttery](https://wordpress.org/support/users/notevenbuttery/)
 * (@notevenbuttery)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/menu-expand-on-hover/#post-10117867)
 * I went ahead and added the above code. I also cleared my cache, but am still 
   unable to see the change on my end. Is it something to do with how I structured
   the menus maybe ?
 * Thanks
 *  [Miha](https://wordpress.org/support/users/mplusb/)
 * (@mplusb)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/menu-expand-on-hover/#post-10118902)
 * Hello [@notevenbuttery](https://wordpress.org/support/users/notevenbuttery/),
 * Please remove the arrow, and add it like this:
 *     ```
       #header-menu .menu-item-has-children:hover ul.sub-menu {
           display: block;
       }
       ```
   
 * The issue was with the arrow.
 * All the best,
    Mihaela
 *  Thread Starter [notevenbuttery](https://wordpress.org/support/users/notevenbuttery/)
 * (@notevenbuttery)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/menu-expand-on-hover/#post-10119050)
 * That fixed it! Thank you very much.

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

The topic ‘Menu expand on hover’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/decode/3.15.3/screenshot.png)
 * Decode
 * [Support Threads](https://wordpress.org/support/theme/decode/)
 * [Active Topics](https://wordpress.org/support/theme/decode/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/decode/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/decode/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [notevenbuttery](https://wordpress.org/support/users/notevenbuttery/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/menu-expand-on-hover/#post-10119050)
 * Status: resolved