All things Shopify and commerce
Hello,
So, I have this extra white space in the secondary menu. The first menu doesn't have it, but then if I click on product / about / etc. it has a small white space that I would like to remove. Any ideas?
URL: https://www.samiyaskincare.com.au/
PW: ellacoker
Solved! Go to the solution
This is an accepted solution.
This is Richard from PageFly - Shopify Page Builder App
Hi @ellacoker Please add code here to fix it:
Step 1: Online Stores > Themes > Edit code
Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>
<style>
@media screen and (max-width: 767px) {
.menu-drawer__close-button {
margin-top: 0px !important;
}
}
</style>
And here is result
Hope my solution will help you resolve the issue.
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Hi @ellacoker
Do you mean like this?
If it is try this one.
.js .menu-drawer {
height: min(
min-content,
calc(100vh - 100%),
calc(var(--viewport-height, 100vh) - var(--header-bottom-position, 100%))
) !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hello,
See screenshot below for what area I mean... thank you. Its only small but still noticeable
Hi @ellacoker ,
could you please try this code again
<style>
@media screen and (max-width: 767px) {
.menu-drawer__close-button.link.link--text focus-inset {
margin-top: 0 !important;
}
}
</style>
And here is result from my side
Hope my solution will help you resolve the issue.
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
@ellacoker Please follow the below steps to remove the space displaying above the secondary menu in header drawer. Let us know whether it is helpful for you.
.menu-drawer__close-button {
margin-top: 0px !important;
}
Hi @ellacoker, thanks for reaching out.
I checked the secondary menu and everything appears to be aligned correctly on our end. Could you please try clearing your browser cache or checking in an incognito window to see if the issue still persists?
Please take a look at my screenshot for further details:
I hope my information is helpful to you, and please feel free to feedback.
Liz
This is an accepted solution.
This is Richard from PageFly - Shopify Page Builder App
Hi @ellacoker Please add code here to fix it:
Step 1: Online Stores > Themes > Edit code
Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>
<style>
@media screen and (max-width: 767px) {
.menu-drawer__close-button {
margin-top: 0px !important;
}
}
</style>
And here is result
Hope my solution will help you resolve the issue.
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Hi there Richard, unfortunately it didn't solve it in my case 😞
Its working! Thank you so much Richard.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025