Jump to content

How to reduce size of cards in List section

Recommended Posts

Site URL: https://cardioid-roadrunner-npdk.squarespace.com/

https://cardioid-roadrunner-npdk.squarespace.com/

My temporary site password is Jazz4604%

I am building my site out, and have a question re the List sections. On the FAQ page, I would like to make the blue cards (below the FAQs) smaller (narrower). I managed to do this via CSS, but then they were skewed to the left. 

How would I make them narrower (ie. the size as if there were 3 columns), but then have them centered?

Thanks!

Link to comment
On 8/5/2021 at 8:16 PM, Kate4604 said:

Site URL: https://cardioid-roadrunner-npdk.squarespace.com/

https://cardioid-roadrunner-npdk.squarespace.com/

My temporary site password is Jazz4604%

I am building my site out, and have a question re the List sections. On the FAQ page, I would like to make the blue cards (below the FAQs) smaller (narrower). I managed to do this via CSS, but then they were skewed to the left. 

How would I make them narrower (ie. the size as if there were 3 columns), but then have them centered?

Thanks!

Hi. Try this CSS

/* FAQ list */
@media screen and (min-width:768px) {
.user-items-list-item-container[data-section-id="61043cb2ea8bce386c9bfd35"] {
    grid-gap: 250px 250px !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
  • 7 months later...
On 8/8/2021 at 5:18 AM, tuanphan said:

Hi. Try this CSS

/* FAQ list */
@media screen and (min-width:768px) {
.user-items-list-item-container[data-section-id="61043cb2ea8bce386c9bfd35"] {
    grid-gap: 250px 250px !important;
}
}

 

I have the same request. This CSS makes a big gap between the cards which doesn't look too good... Is there some way to have smaller cards (width) without the gap? I would like the same look as if it were three cards: same width, same margins etc.

Edited by Uggel
Link to comment
On 4/5/2022 at 2:12 PM, Uggel said:

I have the same request. This CSS makes a big gap between the cards which doesn't look too good... Is there some way to have smaller cards (width) without the gap? I would like the same look as if it were three cards: same width, same margins etc.

You can change 250px 250px to 0px 0px

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.