Home › Forums › Support › Primary Menu changing locations when zooming? This topic has 2 replies, 2 voices, and was last updated 8 years, 9 months ago by Tom. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts April 27, 2016 at 9:08 pm #189934 Kelly Hi, For some reason the my Primary Menu is moving locations when I zoom in and Out and I can’t figure out why. 555healthandwellness.com April 27, 2016 at 9:10 pm #189935 Kelly jk fixed it, I was playing around with this javascript code and forgot about it <script type=”text/javascript”> jQuery(window).load(function($) { var mobile, widthTimer; mobile = jQuery( ‘.menu-toggle’ ); function generateMoveNav() { if ( mobile.is( ‘:visible’ ) ) { jQuery(‘.main-navigation’).insertBefore(‘.site-footer’); } else { jQuery(‘.main-navigation’).insertBefore(‘.site-header’); } } if ( mobile.is( ‘:visible’ ) ) { generateMoveNav(); } jQuery(window).resize(function() { clearTimeout(widthTimer); widthTimer = setTimeout(generateMoveNav, 100); }); }); </script> This reply was modified 8 years, 9 months ago by Kelly. April 27, 2016 at 11:33 pm #189952 TomLead Developer Lead Developer Glad you got it fixed 🙂 Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In