Home Forums UnTheme Haswell Mobile menu doesn’t close after anchor link click

Viewing 18 reply threads
  • Author
    Posts
    • #100182

      raulgarciaherrera
      Participant

      Hi, Spyro team from Spain ..
      Very happy with your Haswell theme, everything works fine and very good at pagespeed rating, will use the theme in next projects, thank you very much for it..

      Just to say I need help with a problem we’ve found when clickin an anchor item in menu in mobile, the menu keeps open instead of closing it, so we can’t see below. It has to be manually closed (clicking the hamburger).

      Can you help on a way to close the menu after clic in mobile?

      Thank you very much in advance,
      Raúl

    • #100184

      Maria Do
      Keymaster

      Thank you so much for your appreciation!
      Please send the following information to get the support faster:

      – FTP’s information
      – Site’s URL
      – WordPress admin account
      – License certificate image:http://prntscr.com/o8tck1.
      We will take a look and help you with this.
      Regards!

    • #100223

      jasonvaters
      Participant

      I am facing the same issue and would love to know the resolution.

    • #100224

      raulgarciaherrera
      Participant
      This reply has been marked as private.
    • #100281

      raulgarciaherrera
      Participant

      Sent, thanks a lot!

    • #100298

      Maria Do
      Keymaster

      Thank you, we will answer you as soon as possible!

    • #100502

      jasonvaters
      Participant

      Hello Maria – Was there a resolution for this issue?

      • #100514

        Maria Do
        Keymaster

        Hi Jasonvaers!
        This is being reviewed by our team. I will update you the solution once it is done.
        Thank you!

    • #100524

      jasonvaters
      Participant

      Thanks Maria

      • #100588

        Maria Do
        Keymaster

        Hi again
        Please go to edit main.js file and replace the old code by this below code:
        if(window_width <= 1024){ $('body').on('click', '.menu-main-menu li a', function(e){ var hrf = $(this).attr('href'); if( hrf.indexOf('http') == -1 ){ $('#cshero-menu-mobile').trigger('click'); } }); } Thank you!

    • #100598

      raulgarciaherrera
      Participant

      Hi, Maria ..
      it seems it’s working fine now!
      Thank you very much for your help .. you’re great!

      • #100625

        Maria Do
        Keymaster

        You are very wecome!
        Have a nice day!

    • #102421

      jasonvaters
      Participant

      Sorry, I’m just getting a chance to revisit this. Thank you so much, but can you tell me what code in main.js that the new code replaces?

      Jason

    • #102481

      Maria Do
      Keymaster

      Is this the code you are looking for:
      Please go to edit main.js file and replace the old code by this below code:
      if(window_width <= 1024){ $('body').on('click', '.menu-main-menu li a', function(e){ var hrf = $(this).attr('href'); if( hrf.indexOf('http') == -1 ){ $('#cshero-menu-mobile').trigger('click'); } }); }

    • #102482

      jasonvaters
      Participant

      Thanks Maria.

      Do I use this code to replace the entire main.js file, or just a certain section within it? If it’s just a section, can you tell me which part of the old code this new code would replace?

      Thanks again,
      Jason

    • #102577

      jasonvaters
      Participant

      Hello Maria – Just following up the question above. Thanks!

    • #102791

      Maria Do
      Keymaster

      Please find the corresponding code and replace it.

    • #102796

      jasonvaters
      Participant

      Can you tell me what the corresponding code is? There doesn’t seem to be anything similar in my main.js file.

      Jason

      • #102873

        Maria Do
        Keymaster

        Please send the following information, i will check it for you:

        – FTP’s information
        – Site’s URL
        – WordPress admin account

    • #102874

      jasonvaters
      Participant
      This reply has been marked as private.
      • #103045

        Maria Do
        Keymaster

        Hi again
        Your problem already solved. Please check it as soon as possible,

    • #102924

      Maria Do
      Keymaster

      Ok i will update you on it 🙂

    • #103046

      jasonvaters
      Participant

      Thanks for the help! The menu is now working!

    • #103090

      Maria Do
      Keymaster

      You are so welcome!

Viewing 18 reply threads
  • You must be logged in to reply to this topic.