jmerrill Posted December 1, 2023 Share Posted December 1, 2023 (edited) I have the following CSS that I'm using to change a single text block to 4 columns on desktop. However, I'd like to force the same text block to 2 columns on mobile: // Multi-Column Text // #block-yui_3_17_2_1_1698600219155_10162 {p {column-count:4; column-gap:5%;} } URL: https://liftin.me/movements PW: lifting Edited December 1, 2023 by jmerrill Link to comment
Solution CassAggett Posted December 2, 2023 Solution Share Posted December 2, 2023 Try this: // Multi-Column Text Mobile // @media only screen and (max-width: 767px) { #block-yui_3_17_2_1_1698600219155_10162 { p { column-count:2; column-gap:5%;}} } If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆 Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business. WEBSITE • INSTAGRAM Link to comment
jmerrill Posted December 2, 2023 Author Share Posted December 2, 2023 Perfect - thank you @CassAggett CassAggett 1 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