Without seeing the current code, you could try the folllowing:
Use padding-top over the <ul>
tag and colour the <li>
tag’s background colour in the dark grey. This way you avoid using top
/ margin-top
.
Related Posts:
- Custom menu walker: how can i check first item
- How to add a child item to a menu element (using wp_nav_menu_objects)
- Primary and secondary menus
- how to get custom admin submenu( custom post type ) item to highlight when its active
- Walker nav remove submenu ul from a certain depth
- WordPress bootstrap menue with 3. level
- Subnav menu – adapt to show the same on parent, child & grandchildren pages?
- disable menu collapse/expand function and make a menu item a static, unclickable text
- Submenu causes issue in defined blog page
- Define supporting only 1-level menu
- Get the page IDs of a Particular Menu item’s submenu
- sub-menu does not show on the very top bar
- How to hide Newsletter plugin submenus from the Dashboard?
- How to exclude/remove submenu using Walker_Nav_Menu
- Links doesnt appear as a submenu on a mobile
- Notices are render inside sub-menu’s content
- Problem add submenu page
- Assign index page to my mobile site?
- Restrict days in bootstrap datepicker using checkboxes in submenu
- Need help finding information to create this type of page
- Trouble posting in Sub-Category
- Subpages List Appearing on Every Page
- Active class on side menu
- I need to get this sub nav to show up on cat, sup-cat and post
- Show menu on page with all sub-pages and sub-sub-pages of that page
- WordPress two row automatic sub navigation with double wp_list_pages. Is it impossible?
- Horizontal sub-menu on one line
- Add custom menu item using wp_nav_menu_items filter
- Add separator to admin submenu
- Order Admin sub-menu items?
- How Can I remove or hide the export page in WordPress menu?
- Get page by template?
- How show sub menu only using wp_nav_menu()
- Reorder custom submenu item
- I want only my sub-pages to be clickable in the navbar
- Add items to a menu dynamically
- How can I add a sub menu to an existing navigation menu in WordPress?
- Add div to specific sub-menu
- Adding different classes to anchor in navigation menu
- Arrow down in menu not displaying
- Creating WordPress Plugin solely for Admin panel with dash menu and submenus
- Custom Nav Walker Displaying Values in Sub Menu
- Update Nav Menu Items Programmatically
- wp_nav_menu() mark current item ancestor of custom post type
- Logout hyperlink within a sub-menu
- Does loading of sub pages in menu cause load to the server?
- Show menu based on parent & ancestor
- Remove All in One Pack from the admin bar
- Insert & order custom post types in/as submenu
- Using default WP menu functionality to link to custom post-type listing?
- Add toggle button for mobile sub-menus
- Highlight current post ancestor parent menu items
- WordPress Quick Question . How to Get Parent Link in Submenu in My Code
- Sub menu indicator that links to sub menu
- Custom megameu walker need improvement
- Using parent slug variable to display proper submenu not working properly
- WordPress Remove Submenus
- Adding sub-menu item makes parent item unclickable
- How can I add a delay to the collapsible menu in Twenty Eleven?
- Give Children Unique ID’s
- How to buid wordpress menu with auto width sub-menu items in dropdown menu without any items sharing one line [closed]
- Adding toggle-able element after menu item
- After moving my site, sub-menus are not showing [closed]
- URL links consistent with menus?
- Replace anchor tag with span tag
- WordPress Custom Menu Admin helper plugin
- Top Nav submenus wpon’t stay open – only in FF and only sometimes [closed]
- If current menu item is child or parent with child?
- Displaying another main nav menu for specific category
- How to check if current page is a parent item or child item in a given menu
- Controlling sub-menu within sub-menu
- Display list of Custom Post
- Type character in name and make it invisble
- Custom menu with additional logic for display
- WordPress + Bootstrap: Replace primary navigation menu on mobile?
- hide page menu from admin panel for specific users
- Submenu Page under Settings in Admin Panel
- Insert link in sub menu – Admin panel
- Add href to tag in nav menu for mobile
- How to have submenus collapsed until they are clicked?
- How to access into the description of a sub menu
- How put the correct URL to sub-menu plugin?
- Adding Meta Box to Specific Submenu Page
- How to sort a sub-menu, generated with get_pages(), by the page order instead of alphabetically?
- wp_nav_menu prints children with parent name
- Always show wordpress submenu on responsive header menu
- edit-tags.php in plugin admin menu hides when is the active page
- How to display list of child pages with parent in wordpress?
- nav_menu: how to force a subpage switching on the parent menu
- Use menu structure for permalinks
- Main Menu Theme Different Output Print
- displaying child pages in columns when on a parent page
- Add tooltips with image in WordPress Menu?
- Building Menus with the latest posts included
- Getting the top level permalink using get_post_ancestors()
- How to add drop down sub menu from database fields in the particular menu slug
- Submenu opened problem
- wp_nav_menu changed to wp_page_menu
- Should I custom code drop down menus or use a wordpress plugin?
- WordPress menu is getting automatically nested