nemoocean Posted January 2, 2022 Share Posted January 2, 2022 Site URL: https://apetrippy.com/ I would like my image to be side by side may be 2 or 3 image per row on mobile. https://apetrippy.com/ However, the mobile display as one image vertically stacked. I have tried my best, but i have no idea how to change it. Dont know how to search the 'block-yui' neither, may any one post the CSS code to help to adjust all images in 3 sections to display correctly in mobile by disabling the one image vertically stacked. Link to comment
Solution Beyondspace Posted January 2, 2022 Solution Share Posted January 2, 2022 29 minutes ago, nemoocean said: Site URL: https://apetrippy.com/ I would like my image to be side by side may be 2 or 3 image per row on mobile. https://apetrippy.com/ However, the mobile display as one image vertically stacked. I have tried my best, but i have no idea how to change it. Dont know how to search the 'block-yui' neither, may any one post the CSS code to help to adjust all images in 3 sections to display correctly in mobile by disabling the one image vertically stacked. Try in Home > Design > Custom Css @media only screen and (max-width: 767px) { #block-c4cece7b237a75a37fff + .row > .col { width: 50% !important; float: left !important } } Let me know how it works on your site Support me by pressing 👍 if this useful for you nemoocean 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted January 2, 2022 Share Posted January 2, 2022 My testing nemoocean 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
nemoocean Posted January 2, 2022 Author Share Posted January 2, 2022 Thanks so much for your help!!!! It works!!! May I be greedy to know how to set 3 image per row as well? Appreciate much for your help Link to comment
tuanphan Posted January 4, 2022 Share Posted January 4, 2022 On 1/2/2022 at 10:14 PM, nemoocean said: Thanks so much for your help!!!! It works!!! May I be greedy to know how to set 3 image per row as well? Appreciate much for your help Just change 50% to 33.333% nemoocean 1 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
nemoocean Posted January 6, 2022 Author Share Posted January 6, 2022 Site URL: https://apetrippy.com/ I have tried to add new sections using the above code, but 2 images displayed in mobile is not aligined , i tried to re-do and change number, but cannot aligin it properly in mobile view. Anyone can help me? Thankss @media only screen and (max-width: 767px) { #block-c4cece7b237a75a37fff + .row > .col { width: 50% !important; float: left !important } #block-61d15aa70a469270eb1e1bd1 + .row > .col { width: 50% !important; float: left !important } #block-080f1ec6c4cbd0471f76 + .row > .col { width: 50% !important; float: left !important } #block-319745b2a01ba6fc2191 + .row > .col { width: 50% !important; float: left !important } #block-24780a646f48adcd8b07 + .row > .col { width: 50% !important; float: left !important } #block-61d6ae803eb8cd481902072f + .row > .col { width: 50% !important; float: left !important } } Link to comment
tuanphan Posted January 8, 2022 Share Posted January 8, 2022 Edit this code #block-61d6ae803eb8cd481902072f + .row > .col { width: 50% !important; float: left !important } to this #block-61d6ae803eb8cd481902072f+.row>.col { width: 50% !important; float: left !important } #block-61d6ae803eb8cd481902072f+.row>.col:nth-child(2n+1) { clear: left !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
nemoocean Posted January 8, 2022 Author Share Posted January 8, 2022 it cannot, some are wired /* Mobile 2 columns */ @media only screen and (max-width: 767px) { #block-c4cece7b237a75a37fff + .row > .col { width: 50% !important; float: left !important } #block-61d15aa70a469270eb1e1bd1 + .row > .col { width: 50% !important; float: left !important } #block-080f1ec6c4cbd0471f76 + .row > .col { width: 50% !important; float: left !important } #block-319745b2a01ba6fc2191 + .row > .col { width: 50% !important; float: left !important } #block-24780a646f48adcd8b07 + .row > .col { width: 50% !important; float: left !important } #block-24780a646f48adcd8b07 +.row>.col:nth-child(2n+1) { clear: left !important; } #block-61d6ae803eb8cd481902072f + .row > .col { width: 50% !important; float: left !important } #block-61d6ae803eb8cd481902072f+.row>.col:nth-child(2n+1) { clear: left !important; } } 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