Home › Forums › Themes Support › Clarivo › About sticky menu
- This topic has 3 replies, 2 voices, and was last updated 2 months, 3 weeks ago by
admin.
Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
January 26, 2021 at 3:57 pm #8234
Hello,
I dont get works sticky menu on claviro theme.
Could you help me?
Thank you.
-
This topic was modified 2 months, 3 weeks ago by
movidita.
January 27, 2021 at 1:02 am #8239Hi,
That’s seems this issue happen with the latest version of jQuery version in core of WordPress.
We have just made quick fix for you by go to: wp-content/themes/clarivo/assets/js then open file haru-main.js
Go to line 404 and change the code from:var header = $('#haru-header'), topHeader = $('.haru-top-header'), topHeaderHeight = $('.haru-top-header').outerHeight(), headerNavAbove = $('.haru-header-nav-above-wrap'), headerNavAboveHeight = $('.haru-header-nav-above-wrap').outerHeight(), headerNav = $('.haru-header-nav-wrap'), headerNavHeight = $('.haru-header-nav-wrap').outerHeight(), adminBar = $('.admin-bar').length ? $('#wpadminbar').height() : 0, headerNavStickyHeight = 60, headerNavToTop = topHeaderHeight + headerNavAboveHeight, headerHeight = headerNavAboveHeight + headerNavHeight;
to
var header = $('#haru-header'), topHeader = $('.haru-top-header'), topHeaderHeight = $('.haru-top-header').length > 0 ? $('.haru-top-header').outerHeight() : 0, headerNavAbove = $('.haru-header-nav-above-wrap'), headerNavAboveHeight = $('.haru-header-nav-above-wrap').length > 0 ? $('.haru-header-nav-above-wrap').outerHeight() : 0, headerNav = $('.haru-header-nav-wrap'), headerNavHeight = $('.haru-header-nav-wrap').length > 0 ? $('.haru-header-nav-wrap').outerHeight() : 0, adminBar = $('.admin-bar').length > 0 ? $('#wpadminbar').height() : 0, headerNavStickyHeight = 60, headerNavToTop = topHeaderHeight + headerNavAboveHeight, headerHeight = headerNavAboveHeight + headerNavHeight;
Now it’s working fine on your site. We’ll update this in the next version.
****
Regards,
HaruThemeJanuary 27, 2021 at 3:11 pm #8262ok thank you!
January 27, 2021 at 3:38 pm #8264Thanks for your feedback!
-
This topic was modified 2 months, 3 weeks ago by
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.