- This topic has 11 replies, 3 voices, and was last updated 12 months ago by
Fernando.
-
AuthorPosts
-
September 21, 2022 at 4:27 am #2349370
Michael
hey folks
my top bar/main menu height is set in the customizer, appears fine when viewed, but it gets all effed up when I scroll down.
It was okay before, but my inexperienced self misclicked somewhere, and now its not okay.
screenshot- above (normal), and below (upon scroll)- https://pasteboard.co/oScGvrOWDNDh.png
A little help here?
thanks!
M
September 21, 2022 at 11:29 am #2349883Ying
StaffCustomer SupportHi Michael,
Do you want the sticky and non-sticky navigation to be the same height?
If so, go to customizer > layout > header, and tick the
use navigation as header
option.Then go to customizer > layout > primary navigation > menu item height, you can use this option to control the primary navigation height.
If it doesn’t work, please link us to your site.
September 22, 2022 at 10:29 pm #2351259Michael
Hi there Ying
I somehow accidentally changed the sticky navigation height. I just corrected it.
Thanks a lot for your response
MichaelSeptember 23, 2022 at 10:12 am #2351848Ying
StaffCustomer SupportYou are welcome 🙂
Happy to help!
September 23, 2022 at 4:48 pm #2352080Michael
Hi Ying
related problem- I fixed the primary nav issue, but now I realized there’s an issue with my mobile nav icon/logo.
https://pasteboard.co/yyB9pYMm28uy.png
When scrolling, it fades down and shrinks into the text line height. any way to preserve the logo height?
Should I just create a new block element menu and ditch the mobile nav altogether?
Thanks
Michael
September 24, 2022 at 11:35 am #2352672Ying
StaffCustomer SupportCan you link me to your site where I can see this mobile logo?
September 24, 2022 at 5:53 pm #2352845Michael
Hi Ying,
Update- I turned off the mobile header as you suggested and made navigation as header in mobile. I still want sticky navigation for mobile.
As a quick fix, I created a block element hook that’s inside_mobile_menu, and this is what it looks like: https://pasteboard.co/9qCS1Wt9PlRf.pngNot quite there- it would be nice if the logo could to the left of the hamburger icon. Any recommendations? Sorry to burden you with a bunch of novice questions.
Link to site below- Thanks!
Michael
September 25, 2022 at 6:47 pm #2353574Fernando Customer Support
Hi Michael,
In Site Identity, can you try adding the logo there? I’ll check what occurs.
September 26, 2022 at 5:06 am #2353969Michael
Hi Fernando
Dude- slam dunk! I changed the logo in site identity, adjusted the menu item height, and it’s perfect. Thank you!
For future reference, it might be cleaner if you guys just removed the mobile header and logo altogether? it seems that there are two places to accomplish the same thing, but with very different and unpredictable results.
Just curious- why is the layout>header>mobile header>branding type/logo still a thing? Is this a legacy thing that’s going to be deprecated at some point?
cheers
Michael
September 26, 2022 at 5:03 pm #2354651Fernando Customer Support
It’s not a legacy thing. The Mobile Header option is there if you want to disable the default header on mobile.
It basically gives you a Header specific to the Mobile view. And if you want a different logo, or add hooks specific only to mobile view without any extra code, you’ll be able to do so with that enabled.
September 27, 2022 at 3:01 am #2355010Michael
ahh… I see. so a header element block with a mobile header hook would show up as a mobile header if the option is selected? And navigation as header just uses the hamburger with whatever site identity logo you choose.
Thanks for the help and clarification!
Michael
September 27, 2022 at 5:48 pm #2355819Fernando Customer Support
So if you want to add items, you can use
inside_mobile_header
hook for instance with Mobile Header turned on.And, you can set a specific Logo for mobile as mentioned.
You’re welcome Michael!
-
AuthorPosts
- You must be logged in to reply to this topic.