Radiant theme - make Image for Homepage responsive

Solved

Radiant theme - make Image for Homepage responsive

Jojo_pudding
Excursionist
14 0 10

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

Screenshot 2025-04-24 at 16.49.15.png

 

2

Screenshot 2025-04-24 at 16.49.22.png

Accepted Solution (1)

devcoders
Shopify Partner
1469 173 454

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;
}

 

devcoders_0-1745513252292.png

 



Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!

View solution in original post

Replies 2 (2)

devcoders
Shopify Partner
1469 173 454

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;
}

 

devcoders_0-1745513252292.png

 



Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!
Jojo_pudding
Excursionist
14 0 10

Oh, amazing!! Thankyou so much, that's worked perfectly 😄