taylorperduesocials Posted April 4, 2022 Share Posted April 4, 2022 Site URL: http://urbanvanitylounge.com I am trying to update my team page and make it into 2 columns for the mobile version instead of 1. I have tried looking through and adding different codes that others have suggested but nothing seems to be helping, if anyone could help me out that would be greatly appreciated. The website does have a password: Urban2022! Link to comment
katycarlisle Posted April 4, 2022 Share Posted April 4, 2022 The code you're adding might actually be working without you realising -- there's a bug that can interfere with some of the CSS grid code, but it only happens when you're viewing the preview page with the CSS editor open. Try adding this code and then go out of the CSS editor and refresh the page. You *should* then have two columns on the mobile view. @media screen and (max-width: 767px) { .user-items-list-simple { grid-template-columns: repeat(2,1fr); } } tuanphan 1 Oh hey! I'm Katy Carlisle, a web designer and trainer who goes by the name SQSP Queen. My pronouns are she/her and I'm based on Vancouver Island in BC 🍁 I've been using Squarespace since 2013, and work mainly with non-profits or freelancers on projects that do good. I love answering questions about Squarespace and don't expect anything in return, but if you do want to say thanks, feel free to buy me a coffee ☕ Link to comment
tuanphan Posted April 5, 2022 Share Posted April 5, 2022 With Team Page, add this to Design > Custom CSS /* Team page - mobile - 2 columns */ @media screen and (max-width:767px) { .user-items-list-item-container[data-section-id="622f6307a009840afb150254"] { grid-template-columns: repeat(2,1fr) !important; grid-gap: 20px !Important; }} katycarlisle 1 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
taylorperduesocials Posted April 5, 2022 Author Share Posted April 5, 2022 Thank you so much, I was able to get it to work!! Is there a way to make it so each artist writeup in the rows match up? Link to comment
tuanphan Posted April 10, 2022 Share Posted April 10, 2022 On 4/6/2022 at 5:50 AM, taylorperduesocials said: Thank you so much, I was able to get it to work!! Is there a way to make it so each artist writeup in the rows match up? Hi, What do you mean? Can you describe in more detail? 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
taylorperduesocials Posted April 20, 2022 Author Share Posted April 20, 2022 When they're beside each other in 2 rows the length of each card is different sizes. They're not even and it looks messy, I'd like to clean it up so they're all even. 🙂 Link to comment
tuanphan Posted April 24, 2022 Share Posted April 24, 2022 Add this new code @media screen and (max-width: 767px) { .user-items-list-item-container[data-section-id="622f6307a009840afb150254"] { & { grid-template-columns:repeat(2,1fr) !important; grid-gap: 20px !Important } li:nth-child(-n+4) .list-item-content__description { min-height: 500px !Important; } li:nth-child(n+5) .list-item-content__description { min-height: 300px !Important; } li:nth-child(n+7) .list-item-content__description { min-height: 450px !Important; } li:nth-child(n+9) .list-item-content__description { min-height: 350px !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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment