- This topic has 11 replies, 3 voices, and was last updated 3 years, 4 months ago by
David.
-
AuthorPosts
-
December 9, 2022 at 2:31 pm #2456453
Gabriel
Jquery is loaded by my site. Not a huge issue. Just trying to understand where the dependency is coming from. I searched this forum and found that enabling sticky navigation in the customizer will add jQuery. However, if I disable it, jQuery is still loaded. If I disable the GP Premium plugin jQuery is removed. Caching plugin is disabled in the site in private information.
December 9, 2022 at 3:03 pm #2456492Leo
StaffCustomer SupportHi there,
That sounds strange – anything added in Elements?
If not, can you disable each module and try to identify where the problem is coming from?
https://docs.generatepress.com/article/installing-gp-premium/Haven’t had other reports on this.
December 12, 2022 at 2:22 am #2458647Gabriel
Disabling the Menu Plus module removes jQuery. It also seems that the sticky navigation setting (Customize > Layout > Header Sticky) does not work. Even if I set it to off, the top navigation is still sticky.
With that said, I want the sticky navigation. It just seems odd.
December 12, 2022 at 5:37 am #2458874David
StaffCustomer SupportHi there,
the Sticky Nav uses jQuery.
Its the only function in GP that does require it.If you want sticky nav and no jQuery then we can look at a CSS method. Let me know.
December 12, 2022 at 5:47 am #2458884Gabriel
But why is jQuery loaded even if I disable sticky navigation? It is removed if I disable the GP Premium plugin or the Menu Plus module.
December 12, 2022 at 7:17 am #2459002David
StaffCustomer SupportDo you have the Sticky set on Mobile Header in Customizer > Layout > Header ?
December 12, 2022 at 7:20 am #2459007Gabriel
Tried disabling Mobile Header but it makes no difference. The slide in menu is still shown on mobile screen size. Seems that the settings on that page are permanently on regardless of what I set in Customizer.
December 12, 2022 at 8:18 am #2459207David
StaffCustomer SupportWhere can i see this ?
December 12, 2022 at 8:32 am #2459228Gabriel
See private information.
December 12, 2022 at 9:33 am #2459339David
StaffCustomer SupportI:
1. Cusotmizer > Layout > Sticky Navigation – and disabled that.
2. Customuzer > Layout > Header, enabled the Mobile Header, so i could see the Sticky option, and i disabled that.Now i no longer see jQuery being loaded.
December 12, 2022 at 11:59 pm #2459973Gabriel
Did not realize that the sticky navigation setting was in two places. Thanks for pointing that out.
December 13, 2022 at 2:24 am #2460116David
StaffCustomer SupportGlad to be of help !
-
AuthorPosts
- You must be logged in to reply to this topic.