Shopify themes, liquid, logos, and UX
hi!
I recently made my side menu transparent as you can see:
but now on mobile it looks like this:
is it possible to only have it transparent on desktop and not on mobile?
password: Christianshop123
thanks!
Solved! Go to the solution
This is an accepted solution.
@media only screen and (max-width: 600px) {
nav.menu-drawer__navigation {
background: #fff;
}
}
Add this css at the bottom of Online Store->Theme->Edit code->Assets->base.scss.liquid
This is an accepted solution.
.menu-drawer__menu-item--active:hover {
background: none;
}
.menu-drawer__menu-item--active, .menu-drawer__menu-item:focus, .menu-drawer__close-button:focus, .menu-drawer__menu-item:hover, .menu-drawer__close-button:hover {
background: none !important;
}
This is an accepted solution.
@media only screen and (max-width: 600px) {
nav.menu-drawer__navigation {
background: #fff;
}
}
Add this css at the bottom of Online Store->Theme->Edit code->Assets->base.scss.liquid
perfect! thank you! do you maybe also now how I make this fade smaller so it doesn't go over the pictures?
.menu-drawer__menu-item--active, .menu-drawer__menu-item:focus, .menu-drawer__close-button:focus, .menu-drawer__menu-item:hover, .menu-drawer__close-button:hover {
background: none;
color: 0;
}
Add this css at the bottom of Online Store->Theme->Edit code->Assets->base.scss.liquid
but is it possible to make it smaller? because it's too big
Please check the above solution.
Please give likes to my post!
it doesn't work it's still the same 😞
This is an accepted solution.
.menu-drawer__menu-item--active:hover {
background: none;
}
.menu-drawer__menu-item--active, .menu-drawer__menu-item:focus, .menu-drawer__close-button:focus, .menu-drawer__menu-item:hover, .menu-drawer__close-button:hover {
background: none !important;
}
thank you!
transparent nav bars are tricky
but add the class
{% if section.settings.transparent %}navbar-transparent{% endif %}">
add settings
{
"type": "checkbox",
"id": "transparent",
"label": "Transparent navbar",
"info": "Applies only on homepage",
"default": true
},
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