Jump to content

CSS coding to resize banner image on mobile

Recommended Posts

  • Replies 1
  • Views 242
  • Created
  • Last Reply
Posted
On 6/23/2021 at 12:26 AM, BLONDECREATIVES said:

Site URL: https://www.forwardgoalkeeping.ca

Hi!

I am looking for someone to help me find some coding that will automatically resize my entire banner image when the website is viewed on mobile.

Thanks in advance!

Add to Design > Custom CSS > then save & reload the site

/* Mobile-resize top banner */
@media screen and (max-width:767px) {
[data-section-id="60d2183e64b36f50789683d5"] {
    min-height: unset !important;
    height: 50vh;
}
}

 

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.