bigpoppapaul Posted October 29, 2020 Share Posted October 29, 2020 Site URL: https://janakorim.com Hi there, I'm wondering how I can change the block order on mobile for the columns at the bottom of the page. Right now it lists "past projects" to "now launching" from left to right. On mobile, I'd like it to put "now launching" on top and "past projects" at the bottom (obviously for both the text and images since they're in different blocks). Any help on this would be greatly appreciated. Link to comment
Beyondspace Posted October 29, 2020 Share Posted October 29, 2020 1 hour ago, bigpoppapaul said: Site URL: https://janakorim.com Hi there, I'm wondering how I can change the block order on mobile for the columns at the bottom of the page. Right now it lists "past projects" to "now launching" from left to right. On mobile, I'd like it to put "now launching" on top and "past projects" at the bottom (obviously for both the text and images since they're in different blocks). Any help on this would be greatly appreciated. Can use css grid for this, you should paste this snippet to Settings->Design->Custom Css @media screen and (max-width: 767px) { section[data-section-id="5f93c908d3bfb9134fc24693"] .sqs-row { display: grid; } section[data-section-id="5f93c908d3bfb9134fc24693"] .sqs-row .span-4:nth-child(1) { order: 2 } section[data-section-id="5f93c908d3bfb9134fc24693"] .sqs-row .span-4:nth-child(2) { order: 1 } section[data-section-id="5f93c908d3bfb9134fc24693"] .sqs-row .span-4:nth-child(3) { order: 0; } } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
bigpoppapaul Posted October 30, 2020 Author Share Posted October 30, 2020 On 10/29/2020 at 7:53 PM, bangank36 said: Can use css grid for this, you should paste this snippet to Settings->Design->Custom Css @media screen and (max-width: 767px) { section[data-section-id="5f93c908d3bfb9134fc24693"] .sqs-row { display: grid; } section[data-section-id="5f93c908d3bfb9134fc24693"] .sqs-row .span-4:nth-child(1) { order: 2 } section[data-section-id="5f93c908d3bfb9134fc24693"] .sqs-row .span-4:nth-child(2) { order: 1 } section[data-section-id="5f93c908d3bfb9134fc24693"] .sqs-row .span-4:nth-child(3) { order: 0; } } That worked beautifully. Thank you very much. I'm going to study this and try and replicate it for the future if I need it again. Link to comment
sandracheesman Posted March 10, 2021 Share Posted March 10, 2021 @bangank36 Hi there, I am having the same issue on my site https://buffalo-helicon-g5ws.squarespace.com/ p/word: sandrabm On the second section with the green background I would like the Lorem Ipsum text and the 'A Place Where →' text to be above the video of the red dog 'free kisses' so it mirrors the layout on the first blue page. Then the same on the red page below. The white dog video before the contact form but after the 'we'd love to hear from you for sure'. I have tried every combination of css but nothing seems to be working. If you can help I would be very grateful! Sandra Link to comment
Beyondspace Posted March 10, 2021 Share Posted March 10, 2021 1 hour ago, sandracheesman said: @bangank36 Hi there, I am having the same issue on my site https://buffalo-helicon-g5ws.squarespace.com/ p/word: sandrabm On the second section with the green background I would like the Lorem Ipsum text and the 'A Place Where →' text to be above the video of the red dog 'free kisses' so it mirrors the layout on the first blue page. Then the same on the red page below. The white dog video before the contact form but after the 'we'd love to hear from you for sure'. I have tried every combination of css but nothing seems to be working. If you can help I would be very grateful! Sandra It's can't since these blocks are not on the same row BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
sandracheesman Posted March 10, 2021 Share Posted March 10, 2021 @bangank36 but is there not a way to reorder via individual block number css? Link to comment
Beyondspace Posted March 10, 2021 Share Posted March 10, 2021 26 minutes ago, sandracheesman said: @bangank36 but is there not a way to reorder via individual block number css? Your first 2 items is on one column while the picture on another, it's cant be changed using css BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
sandracheesman Posted March 11, 2021 Share Posted March 11, 2021 @bangank36 thank you, I didn't realise this was not possible with SQS. I will have to reformat - unless you can make a suggestion for me to keep it the same but to only make it workable as is? Link to comment
Beyondspace Posted March 11, 2021 Share Posted March 11, 2021 15 minutes ago, sandracheesman said: @bangank36 thank you, I didn't realise this was not possible with SQS. I will have to reformat - unless you can make a suggestion for me to keep it the same but to only make it workable as is? Can do a workaround like place the same image under the title and show/hode 2 images accordingly. Let me know if you want to go that way i will check again BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
sandracheesman Posted March 11, 2021 Share Posted March 11, 2021 @bangank36 ahh yes that is a clever idea. You mean to have two videos on the same page, one underneath for mobile and one to the side for desktop and then use code to hide the mobile one on desktop and vice versa for mobile? Link to comment
Beyondspace Posted March 11, 2021 Share Posted March 11, 2021 1 minute ago, sandracheesman said: @bangank36 ahh yes that is a clever idea. You mean to have two videos on the same page, one underneath for mobile and one to the side for desktop and then use code to hide the mobile one on desktop and vice versa for mobile? You are right BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
sandracheesman Posted March 11, 2021 Share Posted March 11, 2021 @bangank36 Thank you!! I think I have now sorted it all. Would this be the same problem on the Services page? I would like the images to stack reading left to right on mobile view, currently they read downwards? Link to comment
tuanphan Posted March 21, 2021 Share Posted March 21, 2021 @sandracheesman Have you 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.