Jump to content

Two Column Images on Mobile - Squarespace 7.1

Recommended Posts

Site URL: https://fmwbunitedway.com/our-supporters

URL: https://fmwbunitedway.com/our-supporters

Within the accordion element of the Special Initiatives section, I would like the logos to form two columns on mobile (instead of a single column). 

Normally, I would use a Gallery block, but since these blocks don't exist in Squarespace 7.1, I'm trying to find an alternative solution. I've tried this code so far:

@media screen and (max-width:600px) {
div#page-section-603fc5083ae8be1dee8da14b .span-12 {
.span-4 {
    width: 50% !important;
    float: left !important;
}
}
}

The issue I'm having with this is that every second row only has one logo. 

Any suggestions would be greatly appreciated 🙂

Link to comment
  • Replies 3
  • Views 677
  • Created
  • Last Reply
  • 2 weeks later...
On 4/9/2021 at 11:28 PM, kaitschmidek said:

Yes please @tuanphan

Add to Design > Custom CSS

/* Our supporter logos side by side */
@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1617296676237_28214~.row .span-3 {
    width: 50% !important;
    float: left !important;
}
div#block-yui_3_17_2_1_1617296676237_28214~.row .span-3 {
    clear: left !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

Archived

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.