I actually need help with increasing the mobile menu drawer to cover the full screen. Currently, it does not cover the full screen. Below, I’ve attached a picture of a sample full-screen mobile menu drawer.
To make your mobile menu drawer cover the full screen, similar to the sample you provided, you can modify the CSS in your Impact theme. Here’s a step-by-step guide:
Follow these steps:
Online store
Themes
Edit Code
Open the theme.css or base.css(or similar CSS file in your theme)
Look for classes related to the mobile menu or drawer. These might be named like .drawer, .menu-drawer, or similar.
Adjust the CSS for Full-Screen Drawer: Add or update the following CSS to ensure the menu drawer spans the full screen:
.drawer {
position: fixed;
top: 0;
left: 0;
width: 100vw; /* Full screen width */
height: 100vh; /* Full screen height */
background-color: #fff; /* Ensure it has a background */
z-index: 1000; /* Ensure it appears above other elements */
overflow-y: auto; /* Enable scrolling if content exceeds height */
display: flex;
flex-direction: column; /* Stack items vertically */
}
Check the Drawer Container: If your drawer has a child container, ensure it also spans the full height:
Compare With the Sample Store: For further fine-tuning, open the sample store in a browser, inspect their mobile menu styling, and replicate relevant styles in your theme.
Would you like detailed instructions for finding and inspecting the relevant code?
If I was able to help you, please don’t forget to Like and mark it as the Solution!
If you’re looking for expert help with customization or coding, I’d be delighted to support you. Please don’t hesitate to reach out via the email in my signature below—I’m here to help bring your vision to life!
Thank you so much @steve_michael2 it works but the close menu button is appearing in the center of the menu. Below is a screenshot I highly appreciate if you could help