Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1119465
    Jade
    Moderator

    Hi 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.

    #1125235
    Timmy
    Participant

    Thanks! 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

    #1125249
    Nico
    Moderator

    Hi 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.

    #1125313
    Timmy
    Participant

    Yes, I need that code for the desktop version, I want it to be white on the desktop 🙂

    #1125546
    Nico
    Moderator

    Hi 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.

    #1129206
    Timmy
    Participant
    This reply has been marked as private.
    #1129619
    Christopher
    Moderator

    Hi 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.

    #1130989
    Timmy
    Participant

    Okey, 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 🙂

    #1131233
    Rue Nel
    Moderator

    Hello 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.

    #1131720
    Timmy
    Participant

    That didn’t work. It just makes my page keep loading :O

    #1131721
    Timmy
    Participant

    No worries I fixed it 🙂

    #1131767
    Joao
    Moderator

    Hi There,

    Thanks for letting us know,

    Joao

  • <script> jQuery(function($){ $("#no-reply-1079568 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>