Korovjov
Korovjov

Reputation: 533

How to use javascript to hide things

I have one problem. I am making (wordpress) onepage website and my mobile menu is not hiding when I click on anchor. I need help with creating next javascript code: When click on hide ... And there is also class for when it's closed . Thank you in advance :D

Upvotes: 0

Views: 38

Answers (1)

Korovjov
Korovjov

Reputation: 533

        <nav id="site-navigation" class="main-navigation col-md-8" role="navigation">
            <div class="menu-menu-container"><ul id="primary-menu" class="menu"><li id="menu-item-177" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-2 current_page_item menu-item-177"><a href="xxx">HOME</a></li>

ABOUT PORTOFOLIO PROJECTS CONTACT LOGIN PAGE HOME ABOUT PORTOFOLIO PROJECTS CONTACT LOGIN PAGE

    </div>
</header>

Upvotes: 1

Related Questions