Jump to content

Home banner vertical resize on mobile view

Recommended Posts

  • Replies 6
  • Views 968
  • Created
  • Last Reply
Posted
On 8/30/2021 at 12:11 PM, bluewillowbirth said:

Hi I have solved with width, but now I have problem with height. If you take a look at my top page banner on mobile view, my image will be cutoff (face of the girl).

Use this new code

@media only screen and (max-width: 767px) {
    section[data-section-id="5f5960c3e2dfd473988e9bd7"] {
        min-height:inherit !important;
        height: 35vh;
        margin-top: 5vh;
    }
}

 

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!)

Posted
On 9/9/2021 at 2:06 AM, Perell said:

Similar issue with home page banner, not resizing to mobile without cutting off sides.  There is another image lower on same page with company logos. I want to keep the rest of the page layout in tact.

https://www.ourgiftbiz.com/

Add to Design > Custom CSS

/* resize mobile homepage top banner */
@media screen and (max-width:767px) {
[data-section-id="5e20c19a12182f60dea128e5"] {
    min-height: unset !important;
    height: 40vh;
    margin-top: 5vh;
}
}

 

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!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.