Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1002789
    Anonymous
    Inactive

    Hi, please go to http://www.sub.benhawkins.de (admin accress in pvt).

    I want to know how to hide the navigation and logo for the startimage.
    Want that image fullscreen without navigation.
    If user scroll down the navigation and logo should became visible.

    And second question; where do I have to set the anchor for onepage-website navigation.

    Thank you
    Andre

    #1002793
    Anonymous
    Inactive
    This reply has been marked as private.
    #1002812
    Nabeel A
    Moderator

    Hi there,

    Please add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript

    jQuery(document).ready(function($){
    	$('header').hide();
    	var image_height = $(".home #x-section-1").outerHeight();
    	$(window).scroll(function(){
    		if ($(this).scrollTop() > image_height) {
    			$('header').show();
    		} else {
    			$('header').hide();
    		}
    	});
    });

    For one page navigation, please refer to this link: https://community.theme.co/kb/how-to-setup-one-page-navigation/

    Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!

    #1003656
    Anonymous
    Inactive

    works thx
    Andre

    #1003674
    Rue Nel
    Moderator

    You are most welcome!

    #1003704
    Anonymous
    Inactive

    one page navigation also works very well

    thx for the documentary

    Andre

    #1003706
    Christopher
    Moderator

    We’re glad that you found it helpful.

    #1004029
    Anonymous
    Inactive

    Hi, I´m afraid, I found out that now the navigation is completly hidden in mobile mode. When I answered first, I just checked it on a monitor.

    And one more question. Is it possible to shrink the start image automaticly for smaller devices?

    Thanks
    Andre

    #1004246
    Rad
    Moderator

    Hi there,

    You mean the first section right?

    Please add this CSS to Admin > Appearance > Customizer > Custom > CSS

    @media (max-width: 767px){
    .home #home {
        padding: 100px 0px 100px !important;
        background-size: 100% 100% !important;
        background-position: center center !important;
        background-attachment: initial !important;
    }
    }

    Cheers!

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