• Hey, I’m fairly new to WordPress.

    When using WP on mobile the nav bar turns into a button. I’m using AJAX to load the pages so when I click something on the navigation bar it doesn’t close (as usually it would just open a fresh page)

    Does anyone know how to close this onclick?

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter MrPurplz

    (@mrpurplz)

    Thanks for all your help ??

    Thread Starter MrPurplz

    (@mrpurplz)

    One small bug with this, the code you gave me works fine apart from the first time it’s pressed. It doesn’t untoggle the first time something is selected but afterwards it toggles fine. Do you know why this might be?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I’m sorry I cannot replicate this issue, and without isolating the code as recommended I have to assume it’s related to your plugin.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘[Theme: Twenty Fourteen] How to close navigation bar onclick?’ is closed to new replies.