Coder Social home page Coder Social logo

grt107 / grt-responsive-menu Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 4.0 311 KB

Simple and lightweight fixed responsive menu for your website.

Home Page: https://grt107.github.io/grt-responsive-menu/

License: GNU General Public License v3.0

CSS 71.18% JavaScript 5.00% HTML 23.82%
jquery javascript menu responsive responsive-menu responsive-design jquery-plugin lightweight jquery-menu mobile

grt-responsive-menu's People

Contributors

grt107 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

grt-responsive-menu's Issues

Dropdown not closing

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.