-
AuthorPosts
-
August 29, 2023 at 10:54 pm #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
August 30, 2023 at 12:53 am #1417495Hi,
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
MarcusAugust 30, 2023 at 9:46 am #1417519Hi,
Could you come back to me asap on this support query. At the moment our mobile burger menu navigation is not working.
Thanks
August 31, 2023 at 11:35 am #1417678Hi,
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,
MikeAugust 31, 2023 at 11:55 am #1417680Hi 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
August 31, 2023 at 12:14 pm #1417685Hi,
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,
MikeAugust 31, 2023 at 3:09 pm #1417696Hi 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
August 31, 2023 at 5:16 pm #1417710Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.