All things Shopify and commerce
In my megamenu, how do i change this image to an image that I chose? I've changed it in code and it works on desktop but not on mobile.
Also the product name is supposed to be in all uppercase, I'm not sure how to change that for the megamenu.
www.audette.store (code:test)
To fix your issues:
1. Change Image on Mobile:
Use CSS media queries to load different images for mobile and desktop.
css
/* Desktop */
.mega-menu img {
content: url('path/to/desktop-image.jpg');
}
/* Mobile */
@media (max-width: 768px) {
.mega-menu img {
content: url('path/to/mobile-image.jpg');
}
}
```
2. Make Product Name Uppercase:
Use this CSS to force the product name to be uppercase:
css
.mega-menu .product-name {
text-transform: uppercase;
}
Check if these CSS changes work and clear your cache if needed!
How do I find the code for mobile here?
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