New Landing How can we help? Themeforest Theme Support Neighborhood Change height sticky menu comes in

Viewing 4 posts - 1 through 4 (of 4 total)
  • #221127
    PopcornLondon
    Member
    Post count: 7

    Hello, I’d like to bring the sticky menu in a little sooner.

    In what file do I adjust the height that the sticky menu is enabled?

    Thank you.

    #221182
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me login detail to check and resolve the issue.
    Thanks
    Mohammad

    #222660
    PopcornLondon
    Member
    Post count: 7

    I managed to change the height the mini-header came in/out by editing this bit of code in: neighborhood/garden/js/functions.js

    jQuery(window).scroll(function() { 
    				if ((jQuery(this).scrollTop() > 150) && !body.hasClass('has-mini-header')) {
    					SF.header.miniHeaderShow();
    				} else if ((jQuery(this).scrollTop() < 151) && body.hasClass('has-mini-header')) {
    					SF.header.miniHeaderHide();
    				}
    			});

    But how can I disable the animation of the mini-header coming in/out?

    http://www.gardenofbabylon.com/

    #222789
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please find this code in functions.js file as you edited:-
    Find this code:-

    miniHeader.animate({
    "top": "0"
    }, 400);

    Change with this code:-

    miniHeader.css({
    "top": "0"
    }, 400);
    
    

    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register