Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1417493

    Hi,

    I have been having issues with the cookie consent pop up box.

    It appears to stick on the site even if cookies are accepted.

    I tried disabling the cookie consent pop up in the Enfold settings, but when I do this, the navigation does not work on mobile.

    Could you advise.

    I have included login details in Private.

    Thanks

    #1417495

    Hi,

    Further to my last message, it appears that that the burger menu on Mobile has stopped working. This is not related to cookie consent.
    I am checking on Google Chrome on mobile.

    Can you advise how to fix asap.
    You have login details from previous.

    Let me know asap

    Thanks
    Marcus

    #1417519

    Hi,

    Could you come back to me asap on this support query. At the moment our mobile burger menu navigation is not working.

    Thanks

    #1417678

    Hi,
    Thank you for your patience, I have checked your mobile menu with my Android device and it seems to be working, I can open it and select menu items and go to other pages.
    I also checked in Windows in Chrome, Firefox, & Edge with Dev Tools mode emulating a mobile device and the mobile menu worked for me.
    If you are using a iPhone, it can be hard to clear the cache, often you need to also clear the history to fully purge the cache, following these steps for Safari and note Step 4 where you will Clear the History.
    I don’t have an iPhone to check with, but there should not be a difference in the menu operation between Android & iPhone.

    Best regards,
    Mike

    #1417680

    Hi Mike,

    Whilst we were waiting for feedback from yourselves, we identified that the issue was some script tracking code that has been added as part of Google Tag Manager. See detail in private.

    Disabling the Google tag Manager and script resolves the issue and the burger menu works fine on mobiles, as does the cookie settings.
    However, we then have no tracking on the site which is a requirement tat we can not do without.

    Do you have any suggestions which will help?

    Thanks

    #1417685

    Hi,
    Glad to hear that you have this sorted out, for your Tag Manager code, try adding it to your child theme functions.php wrapped like this:

    function tag_manager_code() { ?>
      <script>
        //your Tag Manager code here
      </script>
      <?php
    }
    add_action('wp_footer', 'tag_manager_code');

    Best regards,
    Mike

    #1417696

    Hi Mike,

    Thanks for that.

    That looks like just another way to get the code in, but doesn’t necessarily fix the issue of script breaking the burger menu?

    Thanks

    #1417710

    Hi,
    I would expect that if your script was added this way in your functions.php or in your WPCode snippets plugin you would not get a Syntax error.
    If you are still getting a Syntax error then perhaps there is a problem with your script or how you are using your snippets, when I look at your three Tag Manager snippets they are all added as “HTML Snippets”, they should be “Javascript Snippets” or if you wrap them as I suggested use “PHP Sinppets”.
    If this doesn’t help let me know which of the three you are getting the error from when you enable it.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.