-
Grapixo
Hi
My submenues doesn’t work. it’s both on mobile and desktop. see screenshots
https://postimg.cc/gallery/f9qbN4F -
Grapixo
added url
-
George
Hello. Can you try clearing the LiteSpeed cache?
-
Grapixo
Hi, I tried that before, and also now. no difference
-
George
Try disabling the LiteSpeed plugin altogether and see if this fixes the issue. Otherwise, please disable all plugins apart from GP premium. Does that fix the issue? If yes, start enabling plugins one by one to see when the issue appears.
If all fails, please provide site credentials so we could have a look for you. Please use the private section of your reply to post them. You can also install the Temporary Login Without Password plugin and send us a login link without using a password. Again, please, use the private area of your reply to send those details.
-
Grapixo
thanks. it seems to be the SWIS plugin
-
George
What does this plugin do? Is it needed?
-
Grapixo
its a caching plugin, yes it’s needed
-
George
Ok. You must have made some changes, it seems to be working now.
-
Grapixo
I just activaded and deactived a couple of times. OK, great. thanks!
-
George
Alright, no problem!
-
Grapixo
HI have to open this thread again. I noticed now that the SWIS plugin was deactivated. that’s why it worked;)
When I activated it now the same problem occurs. added login link below -
George
Hello.
I am not able to access the backend from the link unfortunately.
Can you try excluding GeneratePress’s main JavaScript file from SWIS optimization?
In SWIS, add this file to the JS exclusions:
/wp-content/themes/generatepress/assets/js/main.min.jsThis file handles the menu toggle and dropdown functionality. When it gets minified or combined with other scripts, it can break the submenu behavior.
Let me know if that resolves it.
-
Grapixo
thanks but it didnt work – see screenshot
info in the SWIS Plugin
Minify JS
JS resources are minified automatically by Easy IO.Minify CSS & JS
Open in a new window
SWIS can remove excess white-space, comments, etc. from any CSS & JS on your site. While many developers are diligent about making sure the CSS & JS they include is “minified”, you can easily find some that are not very efficient. It might even be your own style.css if you use a child theme, I know I don’t minify my child theme style.css, not when I have tools to do it for me!.As an example, the default Twenty Twenty theme includes a stylesheet that is 121kb. When we apply SWIS Minify to the stylesheet, it cuts it down to 89kb, which saves us 26% on just one file! Of course, SWIS will also apply GZIP compression on top of that, which takes an 89kb stylesheet down to 18kb. You’re welcome 🙂
Broken Files?
Okay, it sucks, but it happens. No minifier is perfect, not even the one we use. So if something breaks, and you have to add an exclusion to prevent that, give us a holler and we’ll report it upstream. And if you can’t figure out what’s broken, give us a holler anyway, and we’ll help you figure out what done it. -
George
I am not familiar with the plugin. Is there an option to exclude this file from minification or from combining it with other scripts?
-
Grapixo
I don’t know. I will check with them
- You must be logged in to reply to this topic.