Page Rolling Alone While Loading

0

I'm not sure how to describe this problem, but I have a website in wordpress that uses those menus that have reduced height when we scroll down, the problem is that the menu is getting reduced already in loading the page and after a few 2s it returns to normal.

It is as if the page were already loaded with 1px scroll down and after 2 seconds scroll up.

Load like this, what it looks like when it scrolls down:

Andafter2secondsitgetsnormal:

What can be happening? I think it might be some css or script error, but how do I find this? The site is published, but I do not know if you can post the link here.

    
asked by anonymous 27.04.2016 / 20:51

1 answer

0

Hello.

Well, the bug is being caused because of the fixed-header class that is being dynamically added along with the page, some other event removes the class next.

By analyzing the file I could see that it has a check: if(jQuery(window).scrollTop()>e)

Please check the file: link Look for the fixed-header class.

This js is part of the theme.

    
29.04.2016 / 17:55