Hi, on my mobile website
how do I increase the length of my menu to the screen height so that the background image banner does not show?
Hi, on my mobile website
how do I increase the length of my menu to the screen height so that the background image banner does not show?
Hey @skymochi ,
To increase the length of your mobile menu to cover the screen height and prevent the background image banner from showing, you can use custom CSS to adjust the height of the mobile menu. Hereās how to do it:
-Online Store > Themes
-Select Customize for your current theme.
-If your theme supports it, you can add custom CSS through the theme setting or by directly editing the themeās CSS file.
-You will want to target the mobile menu container and adjust its height to cover the screen.
@media only screen and (max-width: 767px) {
.your-menu-class { /* Replace this with the actual class of your mobile menu */
height: 100vh; /* 100% of the screen height */
overflow-y: auto; /* Allow scrolling if the menu content is longer */
}
.your-banner-class { /* Replace this with the actual class of your banner */
display: none; /* Hide the background banner when the menu is active */
}
}
This should help you prevent the background banner from showing while the mobile menu is open, ensuring the menu covers the entire screen height. Let me know if you need further assistance!
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!
Best Regard,
Rajat Sharma
Hi @skymochi
TRy this one.
And Save.
Result:
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Welcome! Would you mind hitting ālikeā as well? Thanks!