If I understood correctly you are trying to position output of wp_nav_menu()
in horizontal line. Your should try styling <li>
elements, instead of all <div>
. Also width: 100%;
should be removed.
Something like this seems to work:
.mythirdclass li {
float: left;
padding: 0;
margin: 1em;
list-style-type: none;
display: inline;
}
Related Posts:
- Adding an Arbitrary Link to the Admin Menu?
- How do I add nested categories to drop-down menu in twenty-eleven?
- How to add ul class on nav
- Show menu item description with line breaks
- Remove/Disable “Automatically add new top-level pages to this menu”
- Which settings/options are saved on a theme-basis and how does this affect theme-switching?
- WordPress Add javascript:void(0); to menu link item?
- Does WordPress create mobile menus automatically?
- Programmatically create and place a nav menu in a theme location?
- Create search form in menu as in Twenty Fourteen theme
- Why is my menu not ordered properly?
- My menu bar dissapeared with autooptimize [closed]
- Cant add menu items with my theme
- How to override the theme home page?
- How to remove menu installed in wp-admin by a theme? [closed]
- Change submenu markup
- Change hyphen/dash for vertical line in menu [closed]
- How should I build a custom menu walker for this setup?
- How to re-arrange the MENU of “Allure Real Estate Theme for Placester” wordpress theme?
- How to override menu markup?
- Want to add different text after each menu item
- Automatically Display Sub Menu
- Menu separator appearing on next line
- Full screen nav menu block with avada theme
- How to hide the menu item created by the theme in WordPress admin panel?
- Creating custom menu with custom themes
- Removing Submenu from Menu
- Efficient wp mobile menu
- How to show submenu of any page in main menu
- adding pages in underscores.me theme
- Structuring Nav Menu and Background Custom page (Help)
- How to work with a custom theme that someone else created before me? (details below)
- Does the Default theme of WordPress like 2016, 2017 and 2019 uses Walker_Nav_Menu Class
- WordPress Menu Navigation links not working
- Menu doesn’t open on mobile
- I can´t make the menu unclickable in an easy way
- WordPress theme editor not showing
- Making my main menu a hamburger menu on all platforms
- menu change after theme change
- menu mobile show up even i in desktop mode in Newspaper Theme
- All custom links suddenly lack href attributes
- Hide menu theme location for certain capabilities?
- Add a Submenu from Another Submenu in a Custom Theme
- wp_nav_menu in 3.7 add name class nav navbar-nav
- how to keep theme background image, menu or site header image while moving site in sub directory?
- Make title bar collapse when scrolling
- How to add or remove borders in navigation menu?
- Customizing Responsive Themes Menu [closed]
- Some informations about the use of statics pages in WordPress
- How can I added the post’s Categories to the site’s top menu (like a page)?
- The menu jumps a few pixels after the website loads
- How to avoid wp_nav_menu() ID conflict?
- Creating new dynamic menu including BP links [closed]
- Output the aria-labelledby parameter for a nav menu child
- Hide menu items for visitors and filter based on role
- Add a “has-children” class to body tag?
- Custom Nav Walker sub-menu HTML construct
- How to remove trailing tags from wp_nav_menu walker
- How to scroll item in the Menu setting effectively?
- Building custom API and using wp_get_nav_menu_items to get menu items. Only works when logged in, returns nothing when I’m not
- Appearance -> Menu -> Menu Structure : Add plain HTML code as an element
- wp_nav_menu add some element to container
- Custom menu deletes itself
- show different admin menu to different user roles
- How to include a third level with wp_get_nav_menu_items function
- Bulk Custom Menu and Wp-Ecommerce
- Reuse a custom WordPress menu on another WordPress website
- How to dynamically populate a dropdown
- Default WordPress menu content
- how do i change the text under a navigation menu [closed]
- Limit User Iinterface for Admin?
- Creating menu and breadcrumb “sections” within WordPress 3 being used as a CMS
- Unable to get menu pattern using a walker
- Menu not adding the right items
- get only the item you click on
- Theme for subcategories
- Output Post ID for all nav_items
- Walker_Nav_Menu creating too many closing tags?
- Theme Menu vs Native Menu
- Custom menu including also primary menu items
- How to add Loginout to Sub-menu
- having a page in multi sub-menu and match current-menu-item
- PHP Warning adding menu
- Customize version different to Live version
- Sub-Items Not Visible in Navigation
- Custom menu with Walker class – what should the $db_fields be?
- Showing main menu and child menu in diffent places in a same page
- How to view menu and submenus in URL
- Permalinks linking to similar named site
- Custom navigation / menu output (walker?)
- How does WP knows which template to use for a page
- WordPress removes URL parameters from menu elements when saving the menu
- After WordPress 4.8 upgrade, wp_nav_menu() string search / replace not working
- How do I programatically remove Menus?
- Get_avatar filter hook not displaying custom avatar image on frontend
- Displaying a Custom Avatar in WP Bootstrap Navwalker Menus in WordPress
- Is there a way to make it so that I don’t get a hamburger menu, but rather a desktop style nav, when resizing to a mobile size
- WordPress menu empty of items
- Give custom class names to WP nav sub-menu
- How to hide an item from nav menu on desktop view?(without plugin)