Jump to content

Change image & text from Collage layout to Stack layout on Mobile only

Recommended Posts

Add to Design > Custom CSS

@media screen and (max-width:767px) {
body.homepage .design-layout-collage .intrinsic {
    width: 100% !important;
    left: 0 !important;
}
body.homepage .design-layout-collage figcaption {
    width: 100% !important;
}
}

 

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
On 12/5/2021 at 8:55 PM, hannahpellatt said:

@tuanphan I need to do the same on the About page of the site... what needs to change in the above css? Just the part about which page it's on?

Screenshot 2021-12-05 at 13.53.25.png

Edit about page >> Add a Code Block under Collage Image Block >> paste this code

<style>
  @media screen and (max-width:767px) {
.design-layout-collage .intrinsic {
    width: 100% !important;
    left: 0 !important;
}
.design-layout-collage figcaption {
    width: 100% !important;
}
}
</style>

 

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

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.