- This topic has 25 replies, 7 voices, and was last updated 2 years, 1 month ago by Leo.
-
AuthorPosts
-
August 21, 2021 at 1:28 am #1903326Claudia
EXCLUDED CSS FILES
/wp-content/plugins/social-pug/(.*).css
header-tablet-desktop
navigation-search
site-navigation
gutentor-container-coverEXCLUDED JAVASCRIPT FILES
/wp-content/plugins/social-pug/(.*).js
mediavine
/wp-content/plugins/gp-premium/August 21, 2021 at 1:34 am #1903329ClaudiaIn fact, the search bar is not working on desktop either in my case.
August 21, 2021 at 5:03 am #1903436DavidStaffCustomer SupportHi Claudia,
i tested the site URL you provided on desktop and mobile devices and its working correctly for me.
Can you try clearing the device browser caches ?August 23, 2021 at 2:46 am #1905144ClaudiaOf course it is now. I had my developer fix the issue since the instructions provided here did not help me!
August 23, 2021 at 5:51 am #1905297DavidStaffCustomer SupportI am sorry the advice here didn’t help, each conflict can be very site specific, so general advice is not always a working option. Glad to hear you got it resolved though!
September 23, 2021 at 8:52 am #1940657BradyWhat was the solution to this? I’m having the same issue.
September 23, 2021 at 8:55 am #1940661DavidStaffCustomer SupportHi there,
the issues may vary from one site to another – the general issue is the combining/deferring/optimization of JS in the WP rocket settings – try excluding:
main.min.js
from any optimizations. If its still an issue please raise a new topic and share a link to the site where we can take a look.September 23, 2021 at 9:12 am #1940679BradyI tried this and it did not work. The only solution that seems to be working is ‘disable caching for mobile devices’ but then it slows my website down tremendously.
I wasn’t having this issue a few months ago. What would have changed?
My search button is also not working on desktop either.
September 23, 2021 at 9:23 am #1940696DavidStaffCustomer SupportI will reply to your new topic so we can keep the responses in one place.
March 17, 2022 at 1:09 pm #2158437KarenHi, I am also having this problem. If I disable wp rocket, menu works. If I uncheck minify javascript it works. BUT, doing so has caused my site to slow to such a point that it has been penalized by Google and my traffic has fallen off a cliff.
So, please either tell me a caching plugin that also has minify JS AND works with Generatepress or please let me know solution. I also tried this code provided in another thread on mobile menu not working, but it doesn’t work.
/* show full nav on mobile*/
@media (max-width: 768px) {
.main-navigation:not(.slideout-navigation):not(.toggled) .main-nav>ul {
display: flex !important;
}
#site-navigation .menu-toggle {
display: none;
}
#site-navigation .inside-navigation {
justify-content: center;March 17, 2022 at 1:21 pm #2158442LeoStaffCustomer SupportHi Karen,
Unfortunately I believe the option needs to be unchecked in order for everything to work properly.
BUT, doing so has caused my site to slow to such a point that it has been penalized by Google and my traffic has fallen off a cliff.
GP is unlikely the cause of the issue here – perhaps there’s other javascript running from other plugins.
GP is optimized by default: https://generatepress.com/fastest-wordpress-theme/
And here is our optimization tips using Autopimize which we use in this site as well:
https://docs.generatepress.com/article/configuring-autoptimize/If you want to stick with WP Rocket then I’d recommend checking with their support team for comments.
If you need further help with this, please open a new topic.
Thanks!
-
AuthorPosts
- The topic ‘WP Rocket Conflict Causing Mobile Menu and Search to not work’ is closed to new replies.