How can I resize my homepage image banner for desktop view?

Hello, I hope everyone is doing well! Currently, I love how the main image banner on my homepage looks on the mobile screen. Sadly on the desktop it is too big and I would like to make it smaller ( so you can see the whole character ) and add some padding around it if possible. Im not sure if the image size is the problem but please let me know!

The URL is: https://a54738-4.myshopify.com/

The password is: image

Hi @HarlowJ

This is Noah from PageFly - Shopify Page Builder App

Please add this code to your theme.liquid above the to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the


Here’s how its look on my end :

Hope this can help you solve the issue

Best regards,

Noah | PageFly

1 Like

Hi @HarlowJ

You can solve it by adding this CSS code at the bottom of your base.css file

@media screen and (min-width: 990px) {
.banner__media.media > img { object-fit: contain !important; }
}

Hey Noah,

I hope you are doing well.

This worked perfectly! Thank you so much and have a great rest of your day.

Best regards,

Harlow

Hey Noah,

could you help me too :D? URL: motormemories.de Password: 123
On the product-page “Erschaffe dein Kunstwerk!”, the payment-method banner should be below the “add to cart” and not over the whole screen

Thanks a lot!

Greetings from germany

  • Fabian