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?
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025