Title: WordPress menu up
Last modified: September 17, 2024

---

# WordPress menu up

 *  [marcusabs](https://wordpress.org/support/users/marcusabs/)
 * (@marcusabs)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wordpress-menu-up/)
 * Hi.
 * i’ve tried several css codes to get the mobile version buttom menu to go upwards
   but I can’t seem to get it to work. Can anybody help?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-menu-up%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [WPMajestic](https://wordpress.org/support/users/wpmajestic/)
 * (@wpmajestic)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wordpress-menu-up/#post-18020140)
 * Hello [@marcusabs](https://wordpress.org/support/users/marcusabs/),
 * You have some margin code added there which is causing problems -> [https://prnt.sc/xNfcsPWQrKQu](https://prnt.sc/xNfcsPWQrKQu)
 * If that code is removed, button is aligned with the menu -> [https://prnt.sc/Ub3IgjqGgIzu](https://prnt.sc/Ub3IgjqGgIzu)
 * Try to find where you added margins, it must be somewhere in the settings, if
   you can’t find it, you can use this CSS code (by adding it to Custom/Additional
   CSS section in the Customizer):
 *     ```wp-block-code
       .header-widget-area[data-section="sidebar-widgets-header-widget-1"] {    margin-top: 0;    margin-bottom: 0;}
       ```
   
 * If that does not work, try to use !important
 * >     ```wp-block-code
   >     .header-widget-area[data-section="sidebar-widgets-header-widget-1"] {    margin-top: 0 !important;    margin-bottom: 0 !important;}
   >     ```
   > 
 * It’s better to avoid using !important unless you absolutely have to use it, it
   would be ideal if you could find where those margins are added.
 * Kind regards.
 *  [WPMajestic](https://wordpress.org/support/users/wpmajestic/)
 * (@wpmajestic)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wordpress-menu-up/#post-18020169)
 * Sorry, I missed that you were writing about mobile menu version, I saw that button
   on desktop is not aligned and figured that you wanted that fixed.
 * On the mobile device, I see the menu at the bottom, if you with to show menu 
   items you need to correct CSS -> [https://prnt.sc/aSB1mZGiqRWG](https://prnt.sc/aSB1mZGiqRWG)–
   you or someone else added that CSS for the widget area, if you can locate it 
   and disable it, you can push menu items up.
 * Kind Regards.
 *  Thread Starter [marcusabs](https://wordpress.org/support/users/marcusabs/)
 * (@marcusabs)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wordpress-menu-up/#post-18020271)
 * Thank you for responding.
 * Sorry, I wasn’t clear. I added a menu at the bottom of the mobile version, and
   it can only be seen there. I inserted a WordPress navigation menu, and I want
   the menu to be a drop-up menu instead of a drop-down menu. How can I do that?
 *  [WPMajestic](https://wordpress.org/support/users/wpmajestic/)
 * (@wpmajestic)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wordpress-menu-up/#post-18020352)
 * Hello [@marcusabs](https://wordpress.org/support/users/marcusabs/),
 * As I mentioned, you need to find and remove this code -> [https://prnt.sc/aSB1mZGiqRWG](https://prnt.sc/aSB1mZGiqRWG)–
   then submenu will open on top. Check the widget settings and look for padding
   and other variables, you can tweak them in the Elementor settings for that widget.
 * Kind Regards.
 *  Thread Starter [marcusabs](https://wordpress.org/support/users/marcusabs/)
 * (@marcusabs)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wordpress-menu-up/#post-18022050)
 * Thank you for your responds.
 * So now I added a wordpress menu instead. The old was a mix between css, java 
   and html and it got confusing. How do I get the wordpress nav menu to be a drop
   up instead?
 * Best regards, Marcus

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

The topic ‘WordPress menu up’ is closed to new replies.

## Tags

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

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 5 replies
 * 2 participants
 * Last reply from: [marcusabs](https://wordpress.org/support/users/marcusabs/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/wordpress-menu-up/#post-18022050)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
