What's your biggest current challenge? Have your say in Community Polls along the right column.

hero banner image not coming properly

Solved

hero banner image not coming properly

hem0903
Excursionist
50 0 9

hero banner image not coming properly

url - https://puurfection.co.uk/pages/about-us-puurfection

 

hem0903_0-1732086646883.png

 

 

Accepted Solution (1)

Moeed
Shopify Partner
6346 1721 2079

This is an accepted solution.

Hey @hem0903 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.media {
    background: white !important;
}
.media img {
    object-fit: contain !important;
}
</style>

RESULT:

Moeed_0-1732086899001.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


View solution in original post

Replies 3 (3)

Moeed
Shopify Partner
6346 1721 2079

This is an accepted solution.

Hey @hem0903 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.media {
    background: white !important;
}
.media img {
    object-fit: contain !important;
}
</style>

RESULT:

Moeed_0-1732086899001.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


hem0903
Excursionist
50 0 9

i am getting white space below it in mobile and pc both how can I reduce it

hem0903_0-1732092993059.png

 

PageFly-Richard
Shopify Partner
4801 1085 1755

This is Richard from PageFly - Shopify Page Builder App

 

Hi @hem0903   Please add code here to fix it:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>

 

<style>
#shopify-section-template--23864204362059__hero_UHVydy div.media {
    padding-bottom: 0 !important;
    min-height: 35vw !important;
}
</style>

 

Hope my solution will help you resolve the issue.

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.