Remove white space above banner image on mobile and fix blurry image

Remove white space above banner image on mobile and fix blurry image

jewellerystore1
Explorer
97 0 8

Hello, 

 

I added some custom code to allow a different banner image for desktop and mobile but now I have this white space above the mobile banner image below the header which I would like removed. The mobile banner image is also blurry, I would like help making it clear like the desktop image. 

 

Thank you. 

https://n19ziw94my3fo62m-74563387678.shopifypreview.com

 

 

Screen Shot 2023-10-13 at 10.46.25 pm.png

Replies 5 (5)

PageFly-Henry
Shopify Partner
1184 335 292

Hi @jewellerystore1 

This is Henry from PageFly - Landing Page Builder App

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file -> Save

 

@media (max-width: 767px){

.banner__content.banner__content--middle-center.page-width {

    display: none !important;

}

}

 

Hope that my solution works for you.

Best regards,

Henry | PageFly

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


PageFly - #1 Page Builder for Shopify merchants.


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

jewellerystore1
Explorer
97 0 8

Thank you. This worked to remove the white gap but now the image is no longer clickable. Are you able to help add the clickable link back?

PageFly-Henry
Shopify Partner
1184 335 292

Could you send me url page again?

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


PageFly - #1 Page Builder for Shopify merchants.


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

Moeed
Shopify Partner
6292 1711 2056

Hey @jewellerystore1 

 

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 (max-width: 767px){
.banner__content.banner__content--middle-center.page-width {
    display: none !important;
}
}
</style>

RESULT:

Moeed_0-1697207437181.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!

- Create high-converting pages - PageFly Page Builder.


jewellerystore1
Explorer
97 0 8

Thank you. They both worked to remove the white gap but now the image is no longer clickable. Are you able to help add the clickable link back?