Home › Forums › WoodMart support forum › Usercentrics Cookie Plugin makes Menu problems on mobile menu
Usercentrics Cookie Plugin makes Menu problems on mobile menu
- This topic has 12 replies, 2 voices, and was last updated 4 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
February 24, 2024 at 12:24 am #543325
cagli2701ParticipantMy Usercentrics Cookie Plugin needs this code in header.php
<link rel=”preconnect” href=”//app.eu.usercentrics.eu”>
<link rel=”preconnect” href=”//api.eu.usercentrics.eu”>
<link rel=”preconnect” href=”//sdp.eu.usercentrics.eu”>
<link rel=”preload” href=”//app.eu.usercentrics.eu/browser-ui/latest/loader.js” as=”script”>
<link rel=”preload” href=”//sdp.eu.usercentrics.eu/latest/uc-block.bundle.js” as=”script”>
<script id=”usercentrics-cmp” async data-eu-mode=”true” data-settings-id=”DTNMXM4bJ” src=”https://app.eu.usercentrics.eu/browser-ui/latest/loader.js”></script>
<script type=”application/javascript” src=”https://sdp.eu.usercentrics.eu/latest/uc-block.bundle.js”></script>If i add that code, it blocks my mobile menu on phone. If i look for the mobile menu on pc it works .
Now i deleted it again so the menu worksFebruary 24, 2024 at 12:28 am #543326
cagli2701Participanti cant use the cookie function of XTemos because the rules here in germany are very strict and my lawyer said it is not enough for min requirements
February 26, 2024 at 1:50 pm #543839
Aizaz Imtiaz AwanKeymasterHello,
Navigate to Dashboard > WoodMart > Patcher, find the # 536142 patch and click on the “Apply” button. Let us know if it works for you.
Best Regards.
February 29, 2024 at 6:04 pm #545136
cagli2701Participantit doesnt work ;(
Mobile Menu still doesnt work
My Cookie Button on the left bottom also doesnt show on mobileAttachments:
You must be logged in to view attached files.March 1, 2024 at 10:34 am #545285
Aizaz Imtiaz AwanKeymasterHello,
But i have checked your site in mobile device and the mobile menu is working fine:
https://ibb.co/JykBDrwBest Regards.
March 7, 2024 at 1:29 pm #546986
cagli2701ParticipantHello,
it only works when i delete it from header.phpI need the site on working stage because i have daily visitors. That is the reason why i delete the code if it doesnt work
March 8, 2024 at 3:26 pm #547416
Aizaz Imtiaz AwanKeymasterHello,
Can you please share the WP admin login details of your site so I will check and give you the possible solution.
Best Regards.
May 2, 2024 at 8:11 pm #562831
cagli2701ParticipantIf you add the Codes in Header, you will see the problem. Thank you so much for your support
May 3, 2024 at 4:16 pm #563077
Aizaz Imtiaz AwanKeymasterHello,
Can you please share the FTP login details of your site we need to check the code in the header.php file but you have disabled the Theme File Editor option from the WP. So we need the FTP logins to access the Header.php file.
Best Regards.
May 3, 2024 at 7:42 pm #563122
cagli2701Participantofc
May 6, 2024 at 10:42 am #563456
Aizaz Imtiaz AwanKeymasterHello,
We have disabled all third party plugins, and added your custom code to the head see screenshot:
https://monosnap.com/file/e77YR1xWjkQfvDMxTBgHGYIDCQj8HL
and your mobile menu continues to work properly on the real mobile device See the video:
https://monosnap.com/file/D7rIPnB0tffMuguKcvQtHyjiacBjcN).Also, to make sure that this custom code will work properly after future theme updates you needs to add it to the Child Theme function.php file via the following action:
add_action( 'wp_head', function () { ?> <link rel="preconnect" href="//app.eu.usercentrics.eu"> <link rel="preconnect" href="//api.eu.usercentrics.eu"> <link rel="preconnect" href="//sdp.eu.usercentrics.eu"> <link rel="preconnect" href="//app.eu.usercentrics.eu/browser-ui/latest/loader.js" as="script"> <link rel="preload" href="//sdp.eu.usercentrics.eu/latest/uc-block.bundle.js" as="script"> <script id="usercentrics-cmp" async data-eu-mode="true" data-settings-id="DTNMXM4bJ" src="https://app.eu.usercentrics.eu/browser-ui/latest/loader.js"></script> <script type="application/javascript" src="https://sdp.eu.usercentrics.eu/latest/uc-block.bundle.js"></script> <?php } );
Note: Please make sure to check the site without 3rd party plugin.
Best Regards.
May 6, 2024 at 4:53 pm #563612
cagli2701ParticipantHello what do you mean with 3rd Party Plugin?
I use GTranslate, which i need for the Website
Also Siteground has tools like: Security Optimizer and Speed Optimizer from my Webhosting Provider
Rankmath is for SEO
eRecht24 is the Tool for the cookie Bot
ALD cant be the problem because it happened before adding it.hmm I also dont know how to make a child theme. Cant you help me on a working mode? I need those Plugins. I looked for them 🙁
May 7, 2024 at 1:37 pm #563813
Aizaz Imtiaz AwanKeymasterHello,
You should install the child theme after read the below article:
https://xtemos.com/docs-topic/setup-child-theme/The 3rd party plugins means you have to disabled all the 3rd party plugins other than the theme required plugins then check back the site after adding the code in the child theme.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register