- This topic has 13 replies, 3 voices, and was last updated 5 years, 6 months ago by
Leo.
-
AuthorPosts
-
October 11, 2020 at 5:32 am #1483146
Jatin
Hi Guys,
My Site Logo on the Navigation Header while scrolling down the page disappears. Is there any way to make it sticky.
https://imgur.com/PRobr2GOctober 11, 2020 at 5:55 am #1483174David
StaffCustomer SupportHi there,
go to Customizer > Layout > Sticky Navigation and make sure you have set a Logo there.
October 11, 2020 at 6:20 am #1483198Jatin
Hi David, I have set the logo now and its switch ON. Does it take time. its still the same. Its fine on the Mobile but not on the Desktop. Site Link in Info box
October 11, 2020 at 8:09 am #1483433Leo
StaffCustomer SupportWhat is the sticky navigation menu item height in the customizer set at?
https://docs.generatepress.com/article/sticky-navigation/#menu-item-heightOctober 12, 2020 at 3:14 am #1484483Jatin
got it. Thanks.
October 12, 2020 at 9:16 am #1485168Jatin
Hi Leo,
On the Mobile Phone, When i scroll down the page the site logo appears fine on the Navigation Header but the same size one as the main header. I want to show a slightly smaller site logo on the Mobile Phone when scrolling down the page. its fine on the desktop.
October 12, 2020 at 10:23 am #1485295Leo
StaffCustomer SupportThe logo you see on mobile is actually the mobile header logo:
https://docs.generatepress.com/article/mobile-header/Can you try uploading a smaller one there?
I think it would look slick if you just use the icon 🙂
October 12, 2020 at 11:38 am #1485434Jatin
I changed it now it looks good. But i want to have a normal one on the mobile site and when i scroll down then just an icon as you said.
October 12, 2020 at 6:30 pm #1485831Leo
StaffCustomer SupportThat’s actually quite complicated and would require steps like this:
https://generatepress.com/forums/topic/show-different-navigation-logo-for-mobile-sticky-menu/#post-621226October 14, 2020 at 12:34 am #1487984Jatin
Works fine. Thanks.
October 14, 2020 at 7:05 am #1488511Jatin
Hi Leo, The Logo I updated as per code is not clickable ?
October 14, 2020 at 8:54 am #1488833Leo
StaffCustomer SupportAny chance you can link us to the site in question?
You can use the private information field.
Let me know 🙂
October 14, 2020 at 11:42 am #1489094Jatin
Site link
October 14, 2020 at 12:34 pm #1489158Leo
StaffCustomer SupportAhh the anchors are missing.
Try this instead:
add_action( 'generate_inside_mobile_header','lh_mobile_logos' ); function lh_mobile_logos() { ?> <div class="site-logo mobile-header-logo"> <a href="https://SITE-URL" title="SITE TITLE" rel="home"> <img src="URL TO MOBILE HEADER LOGO" alt="" /> </a> </div> <div class="site-logo mobile-header-logo sticky-only"> <a href="https://SITE-URL" title="SITE TITLE" rel="home"> <img src="URL TO STICKY MOBILE HEADER LOGO" alt="" /> </a> </div> <?php } -
AuthorPosts
- You must be logged in to reply to this topic.