Kate4604 Posted August 5, 2021 Posted August 5, 2021 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!
tuanphan Posted August 7, 2021 Posted August 7, 2021 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Uggel Posted April 5, 2022 Posted April 5, 2022 (edited) 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 April 5, 2022 by Uggel
tuanphan Posted April 6, 2022 Posted April 6, 2022 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Uggel Posted April 12, 2022 Posted April 12, 2022 On 4/6/2022 at 10:49 AM, tuanphan said: You can change 250px 250px to 0px 0px Yep, that makes the cards wider again though, but with some extra css I managed to add padding to the left and right. Thanks. tuanphan 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment