Jump to content

How to resize banners heigh for mobile

Recommended Posts

  • Replies 1
  • Views 383
  • Created
  • Last Reply

It looks like you used 2 banners for desktop/mobile. However if you want to resize desktop banner on mobile. Remove your code & add this CSS

/* resize mobile banner */
@media screen and (max-width:640px) {
section#banner-desktop figure img {
    width: 100% !important;
    left: 0 !important;
    height: auto !important;
section#banner-desktop {
    height: 220px;


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


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.