Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown not closing #1

Open
birdbrainsolutions opened this issue Oct 9, 2020 · 0 comments
Open

Dropdown not closing #1

birdbrainsolutions opened this issue Oct 9, 2020 · 0 comments

Comments

@birdbrainsolutions
Copy link

birdbrainsolutions commented Oct 9, 2020

Hi,

Firstly thank you for creating this plugin.

I'm writing a wordpress theme for the first time, so please bear with me if the question is stupid.

I added the css/js files to wordpress, and added the nav menu in the header

<header id="masthead" class="site-header">
		<div class="header-container">
			<div class="grt-menu-logo">
            	<h1>bbscores</h1>
            </div>
            <div class="grt-menu-right">
            	<nav>
                  <button class="grt-mobile-button">
                    <div class="line1"></div>
                    <div class="line2"></div>
                    <div class="line3"></div>
                  </button>
                  <ul class="grt-menu">
                    <?php
                        wp_nav_menu( array(
                                'theme_location' => 'menu-1',
                                'menu_id'        => 'primary-menu',
                            )
                        );
					?>
                  </ul>
                </nav>
            </div>
		</div><!-- header-container -->

	</header><!-- #masthead -->

and the menu is working fine on mobile (atleast on resizing the browser), however on desktop, the menu remains open. You can see it on the test site here: https://bbscores.litespeedwp.tk/

Please help, thank you!

yours sincerely,

Nick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant