hasher22 Posted November 27, 2021 Posted November 27, 2021 Site URL: https://onyxhive.com.au Hello, How do I get my 3 icons in my home page to be 3 in a row in mobile view? In desktop view is fine, and its showing 3 in a row, but mobile its showing in a column, I tried so hard to google it and inline block doesnt work. My mobile code: @media screen and (max-width:767px) { #block-yui_3_17_2_2_1638020814373_14581, #block-yui_3_17_2_2_1638020814373_16284, #block-yui_3_17_2_2_1638020814373_4525 { width: 20%; height: auto; } } Edit: I fixed it, I dont even know how, I just but a bunch of code together from people from google lol //Mobile view home page hero icons @media screen and (max-width:767px) { #block-yui_3_17_2_2_1638020814373_14581, #block-yui_3_17_2_2_1638020814373_16284, #block-yui_3_17_2_2_1638020814373_4525 { float: left !important; clear: none !important; padding-left: 5 !important; padding-right: 5 !important; width: 23%; height: auto; } } Thanks
Beyondspace Posted November 28, 2021 Posted November 28, 2021 It seems that you 've figured out, doesn't it? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Recommended Posts
Archived
This topic is now archived and is closed to further replies.