Support » Theme: Kale » How to disable hidden menu button on narrow screens?

  • Resolved neondlight

    (@neondlight)


    Hi,

    What is the simplest way to disable hidden menu button on narrow screens?

    On narrow screens I would like to automatically see just what I get after pressing the button: all menu items arranged vertically.

    Thank you in advance!

Viewing 1 replies (of 1 total)
  • Theme Author lyrathemes

    (@lyrathemes)

    @neondlight This would require some code changes – edit header.php and make the following changes:

    <div class="navbar-header">
                            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".header-row-3 .navbar-collapse" aria-expanded="false">
                            <span class="sr-only"><?php esc_html_e('Toggle Navigation', 'kale'); ?></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            </button>
                        </div>

    Also, change

    'container_class' => 'navbar-collapse collapse',

    to

    'container_class' => 'navbar-collapse',

    Please make sure you make these changes in a child theme.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.