Jump to content

Image block qu: show different offset on desktop and mobile

Recommended Posts

Add to Design > Custom CSS

/* Collage block */
@media screen and (max-width:767px) {
figcaption.image-card-wrapper {
    margin-top: 10px !important;


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
  • 2 weeks later...

Sorry @tuanphan - another question! The code above ended up changing how all of my image blocks look on mobile (I've temporarily taken the text out of the image block to avoid this happening, screenshot of how it was appearing attached).

Is there a way of applying this reduced margin to specific image block formats? I would like this margin to be reduce on "collages" only (ie. not images and captions formatted as 'stack', 'overlap' 'cards' and so on). 

Is this possible?


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.