Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1190699
    Marco
    Participant

    Thank you very much for the great fast support! 🙂

    #1190727
    Paul R
    Moderator

    You’re welcome! 🙂

    #1229690
    Marco
    Participant

    Hi,

    Thx for the support.

    One small problem:
    When the homepage loads everything is OK but scrolling the page down and up the fixed navbar shows up and STAYS visible…

    #1229797
    Paul R
    Moderator

    Hi Marco,

    To fix it, you can add this under Custom > Edit Global Javascript in the Customizer.

    
    jQuery(function($) {
       $(window).scroll(function(){
            var y = $(window).scrollTop();
            if (y <= 0){
               $('.x-navbar').removeClass('x-navbar-fixed-top');
            }
        });
    });
    
    

    Hope that helps.

    #1229827
    Marco
    Participant

    Yes, Yes, Yes! Thank you!

    #1229833
    Marco
    Participant

    One more thing. On the subpage the logo-icon is white in the header. Is it possible to change to black? Thx!

    #1229938
    Rahul
    Moderator

    Hey There,

    Thanks for writing back!

    The logo icon seems perfect here. See attached!

    http://prntscr.com/cyryl1

    Would you mind double checking it by clearing your cache?

    Thanks for understanding!

    #1229987
    Marco
    Participant

    Hi,

    Please scroll down an up again.
    You see the icon change from black to white

    #1230224
    Jade
    Moderator

    Hi there,

    Please update this code:

    
    jQuery(document).ready(function($){
    	$(window).scroll(function(){
    		if ($(this).scrollTop() > 50) {
    			$('.x-brand.img img').attr("src","http://dev.brownmountain.design/wp-content/uploads/2013/07/Emporium_2013_Area7_Hardstyle_XXlerator_decor_design.jpg");
    		} else {
    			$('.x-brand.img img').attr("src","//dev.brownmountain.design/wp-content/uploads/2016/09/BrownMountain_icon_YT.png");
    		}
    	});
    });

    to

    jQuery(document).ready(function($){
    	$(window).scroll(function(){
    		if ($(this).scrollTop() > 50) {
    			$('.home .x-brand.img img').attr("src","http://dev.brownmountain.design/wp-content/uploads/2013/07/Emporium_2013_Area7_Hardstyle_XXlerator_decor_design.jpg");
    		} else {
    			$('.home .x-brand.img img').attr("src","//dev.brownmountain.design/wp-content/uploads/2016/09/BrownMountain_icon_YT.png");
    		}
    	});
    
            $('.x-brand.img img').attr("src","http://dev.brownmountain.design/wp-content/uploads/2016/10/BrownMountain_icon_Black.png");
    });

    Hope this helps.

    #1230980
    Marco
    Participant
    This reply has been marked as private.
    #1230990
    Marco
    Participant

    Hi,

    I changed the subpage header-menu. All the subpages have the same header now as the homepage.
    Looks better I think. So problem solved 🙂

    Is it possible to have a semi-tranparant mobile-menu. Now the mobile-menu is totaly transparent…?

    #1231088
    Christopher
    Moderator
    This reply has been marked as private.
    #1231116
    Marco
    Participant

    Hi,

    Strange. It should work. Can you check again please? Thx!

    #1231197
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> Global CSS :

    .x-nav-wrap.mobile {
        background-color: rgba(255,255,255,0.5);
        padding: 10px;
    }

    Hope that helps.

    #1231532
    Marco
    Participant

    Thank you. That works!

    Final question. I hope 🙂 In Renew it is easy to delete the hamburger-icon shadow. How can I delete this?

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