Slide Down Megamenu FIX

Shopify Partner
25 0 0

Hello,

 

I've coded my megamenu to open using a slide transition.

I'm happy with the appearance, but have noticed a glitch in its operation.

 

If I scroll down the page after opening the menu, it remains visible and the placement changes to the upper right corner.

 

 

Before:

http://i62.tinypic.com/1sz4hf.jpg

After:

http://i62.tinypic.com/ie0bxk.jpg

 

Any help is greatly appreciated!

Thanks,

- Sean

0 Likes
Highlighted
Shopify Expert
196 0 23

Hi Sean,

It looks like there is a jQuery plugin altering your menu. It is fixing the megamenu to the top when you scroll down. Here are the details on the specific jQuery plugin, StickUp: http://lirancohen.github.io/stickUp/

Trying removing this script from your page

<script type="text/javascript">
    //initiating jQuery
    jQuery(function($) {
      if ($(window).width() >= 741) {

        $(document).ready( function() {
          //enabling stickUp on the '.navbar-wrapper' class
          $('nav').stickUp();
        });
      }

    });
</script>

Cheers,

Ryan

Stop Stressing About Shopify You’ve Got Better Things To Do => https://320ny.com/shopify/
0 Likes
Shopify Partner
25 0 0

Easy!

Thanks so much, Ryan.

 

- Sean

0 Likes