Tagged: x
-
AuthorPosts
-
January 4, 2017 at 8:35 pm #1316815
KennethTaylorParticipanthttp://humpbackjunk.bluewhalehbj.wpengine.com/our-crew/
You can see the little glitch I’m talking about on this page. After the page loads and you even begin to scroll a little, the page jumps up as if the navbar disappears. I’m aware that this is happening when the .x-navbar-fixed-top class is added to the .x-navbar element. I’m just not sure how to combat that happening.
January 5, 2017 at 2:55 am #1317054
ChristianModeratorHey Kenneth,
Would you mind removing the custom scripts in Appearance > Customize > Custom > Global Javascript then check if the issue persists. Please also try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
Thanks.
January 9, 2017 at 4:53 pm #1323056
KennethTaylorParticipantIt wasn’t corrected by either of those suggestions.
January 9, 2017 at 11:46 pm #1323451
RupokMemberHi there,
It seems you have this code :
body.x-navbar-fixed-top-active .x-navbar-wrap { height: 100%; }Let’s update this to :
body.x-navbar-fixed-top-active .x-navbar-wrap { height: 155px; }Cheers!
January 10, 2017 at 4:19 pm #1324606
KennethTaylorParticipantHi although that did fix the issue in one view I’ve fixed the issue with a bit of JS. It’s below if anyone else might need it.
$(window).resize(function () { // On window resize fire function // Get an element that I want to match heights with at all viewpoints. // In this case it's my inner navbar const elHeight = $(" .x-navbar-inner ").height(); // On windows resize update the height of the underlying nav $(" body.x-navbar-fixed-top-active .x-navbar-wrap ").height(elHeight); });Thank you.
January 10, 2017 at 6:36 pm #1324706
NicoModeratorThank you so much for sharing.
Feel free to ask us again.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1316815 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
