Archived topic
Mobile sticky menu doesn't work on all pages
15 replies · Started by Vera on July 12, 2020
Hi,
I have notieced that on the posts where I have added Rentalcars widget, the sticky mobile menu doesn't work on my iphone.
The menu can't be expended, and it isn't sticky on those pages.Below is the script.
<script id="rc-connect" src="https://www.rentalcars.com/partners/integrations/connect/connect.js" data-container="rc-connect-container" data-preflang="en" data-template="universal" data-enable-return-checkbox="true" data-affiliate-code="XXXXXXXXX" data-button-size="large" data-form-padding="12" data-hide-modules="why,powered,manage" data-hero-image="04"><span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start"></span></script>
Do you know how can I fix this?
Thanks!
vera
Hi there,
Sounds like the widget itself is the issue.
Where did it come from? Have you checked with their support?
Hi Leo,
but it works on my current theme (Enfold) and it used to work on my previous theme (Genesis). It only doesn’t work with Generatepress. Can you maybe have a look and come up with a better solution?
Thanks in advance.
Vera
Can you link me to the page in question?
Hi Leo, the problem is that the site is locked with the password. But I am happy to share it with you privately. How can we do that.
Can you first try right click on the page that doesn't work, then use the browser inspect tool, then click on the console tab, do you see any errors?
How can I do that on iphone? This only happens on mobile. On desktop it works fine.
Hi there,
can you share a link and login for your site - you can use the Account Issue form here:
https://generatepress.com/contact/
Please include the URL of this topic.
Thanks, David! I just did like you said.
Can you disable you cache plugin so i can take a closer look. Let me know
I disabled WP Rocket. I don’t have any other that I am aware of. Thanks!
OK the Menu is now working for me.
So something WP Rocket is doing was the problem.
Follow their trouble shooting guide to find out what:
https://docs.wp-rocket.me/article/106-my-site-is-broken
I am still seeing a bunch of errors in the console. This is on desktop as well as mobile. If your right click > inspect the page you will see them under Console. They are also cached files - so another plugin or server side cache is still at play.
Thanks, David! This is unfortunately beyond my technical ability and understanding. Do you know why WP Rocket is causing this only with Generatepress, and not with other themes? Do you maybe know how I can fix it? If not, I'll replace the script with a simple anchor text, but it would be cool if I can keep Reantalcars' search box. Thanks for all your help!
vera
I would recommend checking with their support to see if they can identify the issue.
You can also try turning the individual settings on/off in WP Rocket and see if any of them is causing the issue.
Not really the answer I hoped for but thanks anyway Leo. I'll mark it resolved for now and try to work out the solution myself.