How can I reduce the banner image size in Studio theme?

How can I reduce the banner image size in Studio theme?

GeeKyuu24
Pathfinder
108 3 13

Hi Team. 

May I please have some assistance in reducing the image banner? I would like to make and display as an image banner in a professional way. 

Store: Glowcare.se
PS: Glowcare1991

 

234.PNG

Replies 14 (14)

Artzen_tech
Shopify Partner
552 113 112

Hello @GeeKyuu24 
Its Artzen Technologies! We will be happy to help you today.

I just had a look at your banner image and got to know that it's way too big to get fit properly.
I can suggest you the CSS to make it small but that will not be good, as the banner might look stretched and will not be suitable for user experience.

I would suggest you to instead of trying any code or CSS, add the small size image for better experience.

Artzen_tech_1-1696414959623.png



Let me know if need further assistance
Regards,
Artzen Technologies

 

If helpful, please Like and Accept this Solution to help others
Artzen Technologies | A Shopify Development Agency
WhatsApp - 9877983930

Book FREE CONSULTATION who want to migrate to Shopify or want to start an eCommerce business with Shopify
GeeKyuu24
Pathfinder
108 3 13

What size would you suggest?

 

GeeKyuu24
Pathfinder
108 3 13

I already tried to reduce the image size but it still the same. 

Artzen_tech
Shopify Partner
552 113 112

I have seen it will be done through code and you have to do it through code only, if we add any image size it will lead to same size

If helpful, please Like and Accept this Solution to help others
Artzen Technologies | A Shopify Development Agency
WhatsApp - 9877983930

Book FREE CONSULTATION who want to migrate to Shopify or want to start an eCommerce business with Shopify
GeeKyuu24
Pathfinder
108 3 13

can you please guide me with the code?

 

Artzen_tech
Shopify Partner
552 113 112

@GeeKyuu24 

Here it is mentioned banner--large class replace it with banner--small class.

This code will be found in the banner section.

Artzen_tech_2-1696418421380.png

 

 

Here, I replaced large with small then it looks perfect without any CSS. Refer to below SS.

Artzen_tech_1-1696418368782.png
Try this solution if you are able.

 

If helpful, please Like and Accept this Solution to help others
Artzen Technologies | A Shopify Development Agency
WhatsApp - 9877983930

Book FREE CONSULTATION who want to migrate to Shopify or want to start an eCommerce business with Shopify

Parth_
Shopify Partner
7 0 0

Hey! @GeeKyuu24 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! 

Thanks for your good question.

 

 I am agree with @Artzen_tech

 

if you still want to use this Image.

 

Please try this Simple CSS code
1. Go to Online Store->Theme->Edit code
2. Asset->/base.css ->paste below code at the bottom of the file.

 

 

@media screen and (min-width: 750px){
.banner--large:not(.banner--adapt) {
    height: 450px !important;
}
}

 

 

Thanks! 

 

 

GeeKyuu24
Pathfinder
108 3 13

what would be the recommended size of the image banner? This is the image or at least I can achieve the yellow line

379659964_6811511725580145_4004019847639641967_n.jpg

Parth_
Shopify Partner
7 0 0

@GeeKyuu24   Please Try above Given Code, You will get idea automatically about image size, I tried to set 450px height in code you can change according to what you want...

 

Thanks! 

 

GeeKyuu24
Pathfinder
108 3 13

I tried but it did not changed any 😞

 

Parth_
Shopify Partner
7 0 0

@GeeKyuu24  Try this code

 

 

@media (min-width: 751px) {
.banner--large:not(.banner--adapt) {
    height: 450px !important;
}
}

 

 

 

GeeKyuu24
Pathfinder
108 3 13

Still the same: 

234.PNG

GeeKyuu24_0-1696417801287.png

 

Parth_
Shopify Partner
7 0 0

@GeeKyuu24  Try this in theme customization

 

Banner size img.png

GeeKyuu24
Pathfinder
108 3 13

this is the result: 

GeeKyuu24_0-1696418545204.png