Tagged: x
-
AuthorPosts
-
August 5, 2016 at 5:44 pm #1119465
JadeModeratorHi Timmy,
Please add this code in the customizer:
.x-navbar .desktop .sub-menu a span { color: #698a92 !important; } .x-nav-wrap.mobile li { background-color: #fff; color: #698a92 !important; }Hope this helps.
August 10, 2016 at 3:58 am #1125235
TimmyParticipantThanks! It does not work on the mobile version though, the text is white while the background is white soo you can’t see the text :O
August 10, 2016 at 4:08 am #1125249
NicoModeratorHi There,
I could see this in your CSS:
.page-id-53 .x-navbar li a span { color: #fff; }That cause color white to your font. Remove it so that it would work again.
Let us know how it goes.
THanks.
August 10, 2016 at 5:18 am #1125313
TimmyParticipantYes, I need that code for the desktop version, I want it to be white on the desktop 🙂
August 10, 2016 at 9:10 am #1125546
NicoModeratorHi There,
Please try this code below:
jQuery(document).ready(function($){ $(window).scroll(function(){ if ($(this).scrollTop() > 50) { $('.page-id-53 .x-navbar.x-navbar-fixed-top desktop li a span').css("color","#2b2b2b"); } else { $('.page-id-53 .x-navbar.x-navbar-fixed-top desktop li a span').css("color","#fff"); } }); });If still not helping please share us your admin credentials so we could check our codes to suggest if it will work on your setup. No worries we won’t publish it.
Don’t forget to set it as private reply.
Thanks.
August 12, 2016 at 4:03 pm #1129206
TimmyParticipantThis reply has been marked as private.August 13, 2016 at 12:18 am #1129619
ChristopherModeratorHi there,
Please try this code :
jQuery(document).ready(function($){ $(window).scroll(function(){ if ($(this).scrollTop() > 50) { $('.page-id-53 .x-navbar.x-navbar-fixed-top li').addClass("colored").removeClass("white"); } else { $('.page-id-53 .x-navbar.x-navbar-fixed-top li').removeClass("colored").addClass("white"); } }); });Please add following code in Customize -> Custom -> CSS :
@media (min-width:979px){ .white a span{ color:#fff; } .colored a span{ color:#2b2b2b; } }Hope it helps.
August 14, 2016 at 3:20 pm #1130989
TimmyParticipantOkey, Is it possible to have the transparent to color change only appear when it’s not the hamburger menu? If that’s possible, I would love to use that 🙂
August 14, 2016 at 8:17 pm #1131233
Rue NelModeratorHello There,
To resolve this issue, please update the JS code and make use of this code instead:
jQuery(document).ready(function($){ $(window).scroll(function(){ var W = $(window).width(); if (W > 979) { if ($(this).scrollTop() > 50) { $('.page-id-53 .x-navbar.x-navbar-fixed-top li').addClass("colored").removeClass("white"); } else { $('.page-id-53 .x-navbar.x-navbar-fixed-top li').removeClass("colored").addClass("white"); } } }); });Hope this helps. Please let us know how it goes.
August 15, 2016 at 6:17 am #1131720
TimmyParticipantThat didn’t work. It just makes my page keep loading :O
August 15, 2016 at 6:17 am #1131721
TimmyParticipantNo worries I fixed it 🙂
August 15, 2016 at 7:14 am #1131767
JoaoModeratorHi There,
Thanks for letting us know,
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1079568 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
