Shopify themes, liquid, logos, and UX
Hi,
Please can someone tell me how to make my header image responsive? I'm on the radiant theme and I added the 'image for homepage' using custom code.
Screenshots attached. On a desktop view (image 1), it looks how I want it, but when I look on a mobile view (image 2), the header image stays big and disappears off the screen.
The URL is https://josephinedellow.myshopify.com/
Thankyou 😊
1
2
Solved! Go to the solution
This is an accepted solution.
Hello @Jojo_pudding
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:
.img-container {
text-align: center;
}
.img-container img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
This is an accepted solution.
Hello @Jojo_pudding
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:
.img-container {
text-align: center;
}
.img-container img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
Oh, amazing!! Thankyou so much, that's worked perfectly 😄
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025