Tagged: x
-
AuthorPosts
-
June 12, 2016 at 9:29 pm #1038912
Gnosis123Participanton pages with breadcrumb wrapper the navbar box shadow vanishes on scroll.
I’ve tried various z-indexing both navbar + and breadcrum – but to no avail.
tried applying box shadow to .masthead as in other post but didn’t work. Lowering the breadcrumb leaves a gap.
June 12, 2016 at 9:29 pm #1038913
Gnosis123ParticipantThis reply has been marked as private.June 12, 2016 at 9:31 pm #1038919
Gnosis123ParticipantThis reply has been marked as private.June 13, 2016 at 1:53 am #1039114
Rue NelModeratorHello There,
After investigating the issue, it seems that this block of js code is causing an error. Could you please comment out this block:
jQuery(function ($){ $( '.topbar-menu li:has(ul)' ).doubleTapToGo(); });Please let us know so we can test again.
June 13, 2016 at 2:54 am #1039171
Gnosis123ParticipantI’ve commented it out but its still happening.
June 13, 2016 at 3:17 am #1039203
Rue NelModeratorHello There,
Now that there are no longer any JS error on the page, please add the following JS code in the customizer, Appearance > Customize > Custom > Javascript
jQuery(function($) { var $body = $('body'); var $navbar = $('.x-navbar'); if ( $body.hasClass('x-navbar-fixed-top-active') && $navbar.length > 0 ) { $(window).scroll(function() { if ( $(this).scrollTop() >= 130 ) { $navbar.addClass('x-navbar-fixed-top'); } else { $navbar.removeClass('x-navbar-fixed-top'); } }); } });Please let us know how it goes.
June 13, 2016 at 4:33 am #1039284
Gnosis123ParticipantBrilliant! Works like a charm!
Many Thanks Rue
June 13, 2016 at 6:20 am #1039410
Paul RModeratorYou’re welcome! 🙂
June 13, 2016 at 6:57 pm #1040482
Gnosis123ParticipantThis reply has been marked as private.June 13, 2016 at 8:14 pm #1040613
Gnosis123ParticipantDon’t worry. I’ll cut the jquery and add a top shadow inset to the breadcrumb wrap. Thanks for your help!
June 14, 2016 at 3:15 am #1040980
Paul RModeratorYou’re welcome! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1038912 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
