stevenpillai Posted June 29, 2022 Share Posted June 29, 2022 (edited) Site URL: https://steven-pillai-design.squarespace.com/work/snkrs-app Hello, I've been trying to adjust the width of a list section to be the same width as the other gray text blocks on my page. What would be the proper CSS coding to make this happen? The list is on the bottom of my page, and I've attached a screen shot. Any help would be greatly appreciated. Thanks, Steven Edited June 29, 2022 by stevenpillai Submitted on accident without attaching photo. Link to comment
tuanphan Posted June 29, 2022 Share Posted June 29, 2022 It looks like you solved with this CSS? .user-items-list-item-container[data-section-id="62bc19f4e40c523789bfb735"] { max-width: 95% !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
stevenpillai Posted July 2, 2022 Author Share Posted July 2, 2022 Hi tuanphan Kinda...my only problem now is that when the browser window isn't maximized, the width for that whole section gets smaller than the width of everything else on the page. I've attached a screen below. Any suggestions? Ideally I'd like the widths of everything on the page to stay consistent. Thanks, Steven Link to comment
tuanphan Posted July 2, 2022 Share Posted July 2, 2022 Try this new CSS @media screen and (min-width:768px) { .user-items-list-item-container[data-section-id="62bc49a9a9bdd610de07075b"] { max-width: 100% !important; padding: 0 !important; } [data-section-id="62bc49a9a9bdd610de07075b"] .content { width: 75%; margin: 0 auto; } section[data-section-id="62bc49a9a9bdd610de07075b"] .user-items-list { padding-left: 6vw; padding-right: 6vw; } } 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
stevenpillai Posted July 2, 2022 Author Share Posted July 2, 2022 Thanks tuanphan! It's working perfectly now. I appreciate your help! 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