Thurstings Posted March 3, 2020 Share Posted March 3, 2020 Hello community, I am currently building a team page for a client and I am building the page using image blocks & text blocks. I am happy with the desktop design and now I need to refine the mobile version, which currently only displays one image per row. I would like two rows of images, with the relevant text for that picture sit beneath it. Here's desktop currently: Mobile view: I was wondering how I can have two images next to each other on mobile e.g Alex & Alexi, and there names sit below them. Any help appreciated - If you need access to my site, please let me know. Link to comment
tuanphan Posted March 3, 2020 Share Posted March 3, 2020 Can you share link to this page? 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!) Link to comment
Thurstings Posted March 3, 2020 Author Share Posted March 3, 2020 If there is a way to have two images per row, I can use image captions instead of text blocks which might make things easier? Messaged regarding link - Thanks! Link to comment
tuanphan Posted March 4, 2020 Share Posted March 4, 2020 Add to Home > Design > Custom CSS @media screen and (max-width:640px) { div#block-yui_3_17_2_1_1573641271213_15311+.row>.col { width: 50% !important; } div#block-yui_3_17_2_1_1573641271213_15311+.row { display: flex; flex-wrap: wrap; } } 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!) Link to comment
Thurstings Posted March 5, 2020 Author Share Posted March 5, 2020 @tuanphan Perfect thanks man! I assume to apply it to the rest of the images I just need to use the block id's like you have? Link to comment
SSong Posted March 5, 2021 Share Posted March 5, 2021 @tuanphan Would you help me with this as well? Link is here. Password is 185fff. Thank you!! Link to comment
tuanphan Posted March 7, 2021 Share Posted March 7, 2021 On 3/5/2021 at 7:19 AM, SSong said: @tuanphan Would you help me with this as well? Link is here. Password is 185fff. Thank you!! Need to access your backend to change to 2 items/row on mobile. If you can add me as a contributor, I can test code easier. If you want to change to 3 items/row on mobile, add this to Design > Custom CSS /* pickup delivery test 3 items row */ @media screen and (max-width:767px) { div#page-6041242f7ae35f02c09f1c17>.row:nth-child(n+2) .span-4 { width: 33.33% !important; float: left !important; } div#page-6041242f7ae35f02c09f1c17>.row:nth-child(n+2) .span-4 * { font-size: 10px; } } 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!) Link to comment
SSong Posted March 9, 2021 Share Posted March 9, 2021 On 3/7/2021 at 1:38 AM, tuanphan said: Need to access your backend to change to 2 items/row on mobile. If you can add me as a contributor, I can test code easier. If you want to change to 3 items/row on mobile, add this to Design > Custom CSS /* pickup delivery test 3 items row */ @media screen and (max-width:767px) { div#page-6041242f7ae35f02c09f1c17>.row:nth-child(n+2) .span-4 { width: 33.33% !important; float: left !important; } div#page-6041242f7ae35f02c09f1c17>.row:nth-child(n+2) .span-4 * { font-size: 10px; } } Just direct messaged you. Link to comment
tuanphan Posted March 20, 2021 Share Posted March 20, 2021 On 3/10/2021 at 2:08 AM, SSong said: Just direct messaged you. Hi. Sorry. Recently overloaded. You can message me again if you haven't still solved this yet. 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!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.