Support » Fixing WordPress » How to edit WordPress hamburger menu

  • How are you able to edit the hamburger menu’s CSS dropdown menu in a custom wordpress theme? I’ve created a custom navigation bar but need to be able to make it responsive and edit the standard wordpress dropdown hamburger.

    I’m trying to add a background to #wrapper-navbar but I’m unable to find the classes to edit the CSS in my project. How would you be able to edit the dropdown from the hamburger? Is this bootstrap?

    Images of code the nav menu created and the hamburger dropdown:
    Hamburger dropdown

    Nav menu walker code:

    
    <?php
    wp_nav_menu(
        array(
            'theme_location'  => 'primary',
            'container_class' => 'footer-1-explore',
            'container_id'    => 'navbarNavDropdown1',
            'menu_class'      => '',
            'fallback_cb'     => '',
            'menu_id'         => 'footer-1-explore',
            'depth'           => 2,
            'walker'          => new Understrap_WP_Bootstrap_Navwalker(),
        )
    );
    ?>
    
Viewing 1 replies (of 1 total)
  • but need to be able to make it responsive and edit the standard wordpress dropdown hamburger

    There is no such thing as a standard WordPress dropdown hamburger.

    If you want to change what is on the menu, that is in Appearance > Menus.
    If you want to change the CSS of the menu, you can put it in a child theme or in Customizer > Additional CSS, or in a plugin for adding CSS.
    Specifics about a theme’s menu CSS should be asked at the theme’s support forum since each theme does it differently, and menus can be tricky.

Viewing 1 replies (of 1 total)
  • The topic ‘How to edit WordPress hamburger menu’ is closed to new replies.