Tagged: x
-
AuthorPosts
-
May 21, 2016 at 5:14 am #1002789
AnonymousInactiveHi, 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
AndreMay 21, 2016 at 5:15 am #1002793
AnonymousInactiveThis reply has been marked as private.May 21, 2016 at 5:39 am #1002812
Nabeel AModeratorHi 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!
May 22, 2016 at 3:32 am #1003656
AnonymousInactiveworks thx
AndreMay 22, 2016 at 3:55 am #1003674
Rue NelModeratorYou are most welcome!
May 22, 2016 at 4:35 am #1003704
AnonymousInactiveone page navigation also works very well
thx for the documentary
Andre
May 22, 2016 at 4:37 am #1003706
ChristopherModeratorWe’re glad that you found it helpful.
May 22, 2016 at 1:02 pm #1004029
AnonymousInactiveHi, 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
AndreMay 22, 2016 at 7:37 pm #1004246
RadModeratorHi 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!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1002789 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
