Shopify themes, liquid, logos, and UX
hello,
on mobile, my site has a button to drop-down the menu, but clicking it does nothing
here is the site: https://princefizz.myshopify.com
password is lawpea
any advice is appreciated
Solved! Go to the solution
This is an accepted solution.
You'd need to modify 2 files:
.js .menu-drawer {
height: calc(100vh - 100%);
height: calc(
var(--viewport-height, 100vh) - (var(--header-bottom-position, 100%))
);
}
and replace it with this:
.js .menu-drawer {
height: calc(var(--viewport-height, 100vh) - var(--header-bottom-position, 150px));
top: var(--header-bottom-position, 150px);
}
this.borderOffset = this.borderOffset || this.closest(".header-wrapper").classList.contains("header-wrapper--border-bottom") ? 1 : 0,
and modify it by adding a question mark like this:
this.borderOffset = this.borderOffset || this.closest(".header-wrapper")?.classList.contains("header-wrapper--border-bottom") ? 1 : 0,
This should fix your problem.
This is an accepted solution.
You'd need to modify 2 files:
.js .menu-drawer {
height: calc(100vh - 100%);
height: calc(
var(--viewport-height, 100vh) - (var(--header-bottom-position, 100%))
);
}
and replace it with this:
.js .menu-drawer {
height: calc(var(--viewport-height, 100vh) - var(--header-bottom-position, 150px));
top: var(--header-bottom-position, 150px);
}
this.borderOffset = this.borderOffset || this.closest(".header-wrapper").classList.contains("header-wrapper--border-bottom") ? 1 : 0,
and modify it by adding a question mark like this:
this.borderOffset = this.borderOffset || this.closest(".header-wrapper")?.classList.contains("header-wrapper--border-bottom") ? 1 : 0,
This should fix your problem.
thank you so much for your help!
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025