Jump to content

CSS for mobile only banner height

Recommended Posts

Site URL: http://www.somaculvercity.com/sundays

Hi,

I'm wanting the banner on this page to scale smaller when on a mobile device so it doesn't get cut off. I think I have the nuts and bolts of code, but can't figure out how to put it together:

.Index ([data-collection-id="5e8796abb6e8ff0b5b099b02"  
  ]) @media screen and (max-width: 640px) {max-height: 115px!important;}

Thanks!

Jared

Edited by jbrient
typo
Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.