Phex Posted February 20, 2022 Share Posted February 20, 2022 Site URL: http://spandovia.de/ Hey everyone, I just purchased the annual subscription and am very satisfied with my website on desktop. However, I realized on mobile version the order of blocks & texts is a little weird. Page: http://www.spandovia.de/ueber-unsI'm trying to move this picture: https://prnt.sc/26vvb44 on top of that very text block: https://prnt.sc/26vvbo9 Cheers! Link to comment
Solution Beyondspace Posted February 20, 2022 Solution Share Posted February 20, 2022 58 minutes ago, Phex said: Site URL: http://spandovia.de/ Hey everyone, I just purchased the annual subscription and am very satisfied with my website on desktop. However, I realized on mobile version the order of blocks & texts is a little weird. Page: http://www.spandovia.de/ueber-unsI'm trying to move this picture: https://prnt.sc/26vvb44 on top of that very text block: https://prnt.sc/26vvbo9 Cheers! Try adding to Home > Design > Custom Css @media only screen and (max-width: 767px) { section[data-section-id="61e162c50352595445aa7490"] .content .sqs-layout .row > .col > .row { display: flex; flex-wrap: wrap } section[data-section-id="61e162c50352595445aa7490"] .content .sqs-layout .row > .col > .row > .col{ width: 100% !important } section[data-section-id="61e162c50352595445aa7490"] .content .sqs-layout .row > .col > .row > .col:last-child { order: 1; } section[data-section-id="61e162c50352595445aa7490"] .content .sqs-layout .row > .col > .row > .col:first-child { order:2; } } Let me know how it works on your site Support me by pressing 👍 if this useful for you Phex 1 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 🚀 Learn how to rank new pages on Google in 48 hours! 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 February 20, 2022 Share Posted February 20, 2022 My testing Phex 1 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 🚀 Learn how to rank new pages on Google in 48 hours! 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
Phex Posted February 20, 2022 Author Share Posted February 20, 2022 4 hours ago, bangank36 said: Try adding to Home > Design > Custom Css @media only screen and (max-width: 767px) { section[data-section-id="61e162c50352595445aa7490"] .content .sqs-layout .row > .col > .row { display: flex; flex-wrap: wrap } section[data-section-id="61e162c50352595445aa7490"] .content .sqs-layout .row > .col > .row > .col{ width: 100% !important } section[data-section-id="61e162c50352595445aa7490"] .content .sqs-layout .row > .col > .row > .col:last-child { order: 1; } section[data-section-id="61e162c50352595445aa7490"] .content .sqs-layout .row > .col > .row > .col:first-child { order:2; } } Let me know how it works on your site Support me by pressing 👍 if this useful for you Thank you so much! It worked. Link to comment
Guest Posted March 15, 2022 Share Posted March 15, 2022 (edited) On 2/20/2022 at 8:24 PM, bangank36 said: Try adding to Home > Design > Custom Css @media only screen and (max-width: 767px) { section[data-section-id="61e162c50352595445aa7490"] .content .sqs-layout .row > .col > .row { display: flex; flex-wrap: wrap } section[data-section-id="61e162c50352595445aa7490"] .content .sqs-layout .row > .col > .row > .col{ width: 100% !important } section[data-section-id="61e162c50352595445aa7490"] .content .sqs-layout .row > .col > .row > .col:last-child { order: 1; } section[data-section-id="61e162c50352595445aa7490"] .content .sqs-layout .row > .col > .row > .col:first-child { order:2; } } Let me know how it works on your site Support me by pressing 👍 if this useful for you May I know how it can be done for my site too? www.madebycommonhands.com/shop/p/ring-bearer-box PW:crafty I would like the additional info(accordion) to be placed right after the product description. Thanks! Edited March 15, 2022 by nigeitangg Link to comment
Beyondspace Posted March 15, 2022 Share Posted March 15, 2022 6 hours ago, nigeitangg said: May I know how it can be done for my site too? www.madebycommonhands.com/shop/p/ring-bearer-box PW:crafty I would like the additional info(accordion) to be placed right after the product description. Thanks! 1. We need to use js to move the additional info in the Production detail. 2. Use Css to reorder the accordion block on product-item detail You can add to Home > Settings > Advanced > Code injection, choose Footer <script> (function() { window.addEventListener('DOMContentLoaded', () => { const addInfo = document.querySelector('.ProductItem-additional'); const productDetail = document.querySelector('.ProductItem-details'); if(productDetail && addInfo) { productDetail.appendChild(addInfo); } }) })() </script> <style> .ProductItem-details .ProductItem-additional { order: 5; } </style> Let me know how it works on your site Support me by pressing 👍 if this useful for you 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 🚀 Learn how to rank new pages on Google in 48 hours! 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
Guest Posted March 17, 2022 Share Posted March 17, 2022 On 3/15/2022 at 10:26 PM, bangank36 said: 1. We need to use js to move the additional info in the Production detail. 2. Use Css to reorder the accordion block on product-item detail You can add to Home > Settings > Advanced > Code injection, choose Footer <script> (function() { window.addEventListener('DOMContentLoaded', () => { const addInfo = document.querySelector('.ProductItem-additional'); const productDetail = document.querySelector('.ProductItem-details'); if(productDetail && addInfo) { productDetail.appendChild(addInfo); } }) })() </script> <style> .ProductItem-details .ProductItem-additional { order: 5; } </style> Let me know how it works on your site Support me by pressing 👍 if this useful for you Thanks for that! It moved it to the side but I am still unable to move it below the description. Right now it is below the button. Link to comment
Beyondspace Posted March 17, 2022 Share Posted March 17, 2022 I check it is under description at the moment Is it what you mean or something else? 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 🚀 Learn how to rank new pages on Google in 48 hours! 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment