Tagged: x
-
AuthorPosts
-
March 8, 2017 at 9:37 am #1399165
DynamicVineParticipantIf I go to a page on mobile (e.g., http://dynamicvine.com/urgentcare/locations/ ), the page loads fine. If I scroll down, fine too. If I scroll back up, the top of the page continues to jump behind the nav.
thoughts?
March 8, 2017 at 10:50 am #1399289
RupokMemberHi there,
Upon checking your site I can’t see such issue. Try checking from different browser/device.
Thanks!
March 9, 2017 at 12:56 pm #1400868
DynamicVineParticipantThis reply has been marked as private.March 9, 2017 at 8:56 pm #1401425
Rue NelModeratorHello There,
Thanks for updating in! To resolve this issue, please add the following JS code in the customizer, Appearance > Customize > Custom > Edit Global Javascript
// Fixed Top Navbar // ============================================================================= jQuery(function($) { var $body = $('body'); var $navbar = $('.x-navbar'); if ( $body.hasClass('x-navbar-fixed-top-active') && $navbar.length > 0 ) { var boxedClasses = ''; if ( $body.hasClass('x-boxed-layout-active') ) { boxedClasses = ' x-container max width'; } $(window).scroll(function() { if ( $(this).scrollTop() >= 50 ) { $navbar.addClass('x-navbar-fixed-top' + boxedClasses); } else { $navbar.removeClass('x-navbar-fixed-top' + boxedClasses); } }); } });We would loved to know if this has work for you. Thank you.
March 16, 2017 at 6:43 pm #1410296
DynamicVineParticipantI believe this worked. I’ll let you know if there are any more problems with this. Thanks.
March 16, 2017 at 10:23 pm #1410614
NicoModeratorFeel free to let us know how it goes.
Thank you so much.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1399165 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
