Kaiyo Posted September 9, 2021 Posted September 9, 2021 Site URL: https://seadragon-onion-dg7x.squarespace.com/ Is it possible to change the content width of a list section on mobile only? On the courses page, I have the content width set to 38% but it's way too narrow on mobile. I'd like it around 96% on mobile. Thanks!
tuanphan Posted September 12, 2021 Posted September 12, 2021 On 9/10/2021 at 5:43 AM, Kaiyo said: Site URL: https://seadragon-onion-dg7x.squarespace.com/ Is it possible to change the content width of a list section on mobile only? On the courses page, I have the content width set to 38% but it's way too narrow on mobile. I'd like it around 96% on mobile. Thanks! Hi, Your site is private. Can you setup passowrd & share url? 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!)
Kaiyo Posted September 21, 2021 Author Posted September 21, 2021 On 9/12/2021 at 3:43 AM, tuanphan said: Hi, Your site is private. Can you setup passowrd & share url? I think it's on public now. URL is Kaiyo Sonics | 1:1 & Group DJ Lessons | Online | In Person I ended up just duplicating the section and hiding one on mobile/one on desktop and changing the content width on mobile. If there's a better way to achieve that though it might be handy
tuanphan Posted September 24, 2021 Posted September 24, 2021 On 9/22/2021 at 6:20 AM, Kaiyo said: I think it's on public now. URL is Kaiyo Sonics | 1:1 & Group DJ Lessons | Online | In Person I ended up just duplicating the section and hiding one on mobile/one on desktop and changing the content width on mobile. If there's a better way to achieve that though it might be handy Hi, use this CSS /* List section width on mobile */ @media screen and (max-width:767px) { .list-item-content__description { width: 100% !important; max-width: 100% !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!)
Kaiyo Posted September 24, 2021 Author Posted September 24, 2021 5 hours ago, tuanphan said: Hi, use this CSS /* List section width on mobile */ @media screen and (max-width:767px) { .list-item-content__description { width: 100% !important; max-width: 100% !important; } } perfect, thank you!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.