Tagged: x
-
AuthorPosts
-
March 7, 2017 at 4:54 am #1397526
SamuelParticipantI’ve searched the forum and tried a few things but everything I’ve found is hard to follow, as most of the people are asking for multiple functions.
Can you help?
Thanks!
March 7, 2017 at 4:55 am #1397528
SamuelParticipantThis reply has been marked as private.March 7, 2017 at 5:28 am #1397563
JadeModeratorHI there,
Please add this code in the custom JS:
jQuery(function($){ $(window).scroll(function(){ if( $(this).scrollTop() == 0 ) { $('.x-navbar-fixed-top').removeClass('x-navbar-fixed-top'); } }) });Then add this in the custom CSS:
.x-brand { color: #fff; } .x-navbar-fixed-top .x-brand { color: #000; }Hope this helps.
March 7, 2017 at 5:29 am #1397564
JadeModeratorHI there,
Please add this code in the custom JS:
jQuery(function($){ $(window).scroll(function(){ if( $(this).scrollTop() == 0 ) { $('.x-navbar-fixed-top').removeClass('x-navbar-fixed-top'); } }) });Then add this in the custom CSS:
.x-brand { color: #fff; } .x-navbar-fixed-top .x-brand { color: #000; }Hope this helps.
March 7, 2017 at 5:54 am #1397595
SamuelParticipantThat seems to work great! Until I scroll back up to the top, and then the navbar seems to go a lil crazy..
SO CLOSE!It seems to only happen on some occasions.. Mainly when I go fullscreen in Chrome, or when veiwing using the customizer.
Is there a fix for this?Cheers!
March 7, 2017 at 6:49 am #1397666
JadeModeratorHi there,
Please add this code in the CSS customizer as well:
.masthead-inline { position: absolute; top: 0; left: 0; width: 100%; }Hope this helps.
March 7, 2017 at 6:50 am #1397667
JadeModeratorHi Samuel,
Please add this code in the CSS customizer as well:
.masthead-inline { position: absolute; top: 0; left: 0; width: 100%; }Hope this helps.
March 7, 2017 at 7:51 am #1397712
SamuelParticipantAWWWWWESOMEEEE
Cheers!March 7, 2017 at 9:24 am #1397806
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1397526 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
