Jump to content

Resize /left justify banner image on specific pages

Recommended Posts

Site URL: https://www.abrabeauty.dk/eyelash-extensions

I'm sure there is a line of code that could do just this but being a css noob it has been a bit difficult.


The banner image on laptop for this site works great but it is a bit pointless on mobile, is it possible to either force resize the image/left justify it so it should the portion of the image that makes sense?


So many thanks


Edited by Sirid
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Add to Home > Design > Custom CSS

/* resize mobile banner */
@media screen and (max-width:767px) {
body#collection-5f636befef0cc164bf3237af #page section:first-child {
    min-height: unset !important;
    height: 40vh;


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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.