I really want to smoothly hide my logo when the hamburger menu is opened. Got inspired by apple.com mobile website version drawer menu and would love to make something similar!!
Theme - Dawn
Huge thanks in advance!
I really want to smoothly hide my logo when the hamburger menu is opened. Got inspired by apple.com mobile website version drawer menu and would love to make something similar!!
Theme - Dawn
Huge thanks in advance!
Hi @Apeya , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks
Hello,
Website name is apeya.co
Thanks
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Thank you for provided solution, but unfortunately it didnāt work(
The logo is still visible after opening the hamburger menu //Maybe you have any other ideas how to solve it?
thanks
Hi @Apeya
Try this one.
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Hi,
Just tried your variant and it doesnāt work either. Logo stays in the way it was beforeā¦
Still thanks, hopefully someone finds a way out!
Please, try this again.
And Save.
Same Instruction.
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
It does work, but only for a home page header. Can we make it active for
the whole website?
Also I noticed that when I press on hamburger menu each header icon shakes
a little, can we fix it as well? *I attached a file to showcase an issue.
Sorry, couldnāt upload the video, but here is a link to my google drive where you can check the foresaid issue:
Thanks
https://drive.google.com/file/d/1f3Z7GGO7uCyv59z62SYV17ZO0QcGc-ta/view?usp=sharing
change the code with this one,
@media only screen and (max-width: 749px){
header.header:has(.menu-drawer-container[open]) a.header__heading-link {
display: none !important;
}
}
and save.
For your icons, you need a developer to check that one.
Please donāt forget to Like and Mark Solution to the post that helped you. Thanks!
Everything works!
About icons - I believe this code acts as a trigger for āshakeā issue, because I didnāt have such problem before pasting the code(
Maybe we can try to fade out header icons, not just covering them with burger menu drawer?
If you canāt help me with this one, I will mark the previous code as a correct solution//
Thank you!!
The code only call the logo not the icons.
we can change into visibility like this not the display none.
@media only screen and (max-width: 749px){
header.header:has(.menu-drawer-container[open]) a.header__heading-link {
visibility: hidden !important;
}
}
And Save.
What the code is saying is that when the menu drawer in the header is open, the logo will be hidden.
Please donāt forget to Like and Mark Solution to the post that helped you. Thanks!
Yess, the icons stopped moving with this code.
Highly appreciate your work, Mr Made4uo-Ribe xD