Jump to content

Home Banner Image Getting Cropped On Mobile

Go to solution Solved by tuanphan,

Recommended Posts

Try adding to Design > Custom CSS

@media screen and (max-width:767px) {
body.homepage .parallax-item img {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
    top: 100px !important;
}

body.homepage .parallax-item {
    height: 350px !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 9/16/2022 at 9:31 AM, cbannister said:

@tuanphan That works great! On mobile (only), for some reason the graphic below the banner image, and the mailing list aren't showing anymore.

Hi,

Can you take a screenshot of problem then remove the code, we will check it again

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 9/22/2022 at 10:14 AM, cbannister said:

@tuanphan yes that is correct

Hi. Remove code I sent & use this new code

@media screen and (max-width:640px) {
body.homepage .has-main-image img {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
    top: 100px !important;
}
body.homepage .title-desc-wrapper.over-image.has-main-image.first {
    min-height: unset;
    height: 300px;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • Solution

Ah, I found the cause, use this new code

@media screen and (max-width:640px) {
body.homepage .has-main-image.first img {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
    top: 100px !important;
}
body.homepage .title-desc-wrapper.over-image.has-main-image.first {
    min-height: unset;
    height: 300px;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.