Jump to content

13 images in a row in a Gallery Grid?

Go to solution Solved by tuanphan,

Recommended Posts

Posted (edited)

Hi team, I'm trying to display 12-13 logos in a row in the bottom footer of my site. They are currently in an Image Gallery Block (S.Space currently only allows me 10 columns).

I tried to inject some code into my custom CSS, see below:

section[data-section-id="6348cdbf733815d3e61560ae"] .gallery-grid-wrapper {
      grid-template-columns: repeat(12, 1fr) !important;
}

But it didn't work - can I display more than 10 images? or is there a max limit?

 

any help very much appreciated!

Thanks

Screen Shot 2023-06-27 at 9.57.33 AM.png

Edited by sarahfallas
  • Solution
Posted

Use this code

@media screen and (min-width:768px) {
div#block-yui_3_17_2_1_1665709504528_279294 .slide {
    width: 100% !important;
    float: none !important;
}
#block-yui_3_17_2_1_1665709504528_279294 .sqs-gallery-block-grid .sqs-gallery-design-grid {
    display: grid;
    grid-template-columns: repeat(11,minmax(0,1fr));
}
}

 

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!)

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.