Bootstrap Nav Walker Sub Menu Image

Do you want the same image for each menu item? .menu-item a:before { content: url(“/path/to/image.png”); display: inline-block; } The menu items should already have an ID on each <li> li#menu-item-274 a:before { content: url(“/path/to/another/image.png”); } Failing that, you can implement your own Bootstrap Navwalker and add whatever classes or images you like. See: https://developer.wordpress.org/reference/classes/walker/ and … Read more

WordPress Menu Navigation links not working

Here are a couple things I noticed. You don’t want to include the <a> inside of link_before or link_after, you will get 2 links if you do that. You also don’t need the <ul>. Instead I think you want something like this… <?php wp_nav_menu(array( ‘theme_location’ => ‘primary’, ‘before’ => ‘<class=”nav-item active”>’, ‘menu_class’ =>’navbar-nav mr-auto’, ‘link_before’ … Read more

Searching for a one page overview widget

You can add a menu item whose link goes to a specific section on the same page or a section on a different page. This works with any WordPress menu, which you can create and edit by clicking Appearance > Menus in the WordPress admin panel. This technique involves two steps: adding a unique ID … Read more