Home Forums Themes Support Clarivo About sticky menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8234
    movidita
    Supported

    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.
    #8239

    Hi,
    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,
    HaruTheme

    #8262
    movidita
    Supported

    ok thank you!

    #8264

    Thanks for your feedback!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.