jg66ue Posted January 24, 2023 Posted January 24, 2023 (edited) Hi, Page is: https://www.jeffgalferphotography.com/bio I'm trying to figure out how to write the code so that the text block appears above the masked boy photo when in mobile only. Once it hits mobile, the order of the blocks is: Boy in Red Sweatshirt Photo Masked Boy Photo Text However, I'd like it to be in mobile: Boy in Red Sweatshirt Photo Text Masked Boy Photo I have corrected this previously by not having the text wrap around the masked boy photo on desktop. However, I like the wrapping and I'd prefer to keep it. It unfortunately just also changes the positioning of the masked boy photo when in mobile, though, to on top of the text. Any ideas on this? Thanks! Jeff Edited January 24, 2023 by jg66ue adding website
Ziggy Posted January 24, 2023 Posted January 24, 2023 Can you share your website URL and page? jg66ue 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
jg66ue Posted January 24, 2023 Author Posted January 24, 2023 I edited the post. Try refreshing the page.
Ziggy Posted January 24, 2023 Posted January 24, 2023 This guide should be helpful: https://www.primitusconsultancy.co.uk/blog/how-to-reorder-blocks-for-mobile-squarespace-71#:~:text=From your Squarespace account%2C go,the Custom CSS editor box.&text=This will reverse the order of the block.&text=If you have 3 columns,to 3%2C2%2C1. You code should look something like this: @media screen and (max-width: 640px) { #collection-63c7a94b3a450023e95087aa { .sqs-row { display: flex; flex-direction: column; } .col :nth-child(3) {order: -1;} } } Hope that helps! Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
jg66ue Posted January 24, 2023 Author Posted January 24, 2023 Hey, Thanks for your attempt, but that still doesn't seem to do it. I've tried a few of these types of things I found on the forums so far, but nothing seems to budge in mobile.
jg66ue Posted January 24, 2023 Author Posted January 24, 2023 (edited) Part of the issue here is that the masked boy photo is located within the text container. I did this so that the text wraps around the photo as the screen gets smaller. However, when the screen hits mobile, the text is being forced below the photo instead of above it. If I take the masked boy photo out of the text container, I lose the text wrapping, but the text stays above the photo in mobile. Edited January 24, 2023 by jg66ue clarifying
jg66ue Posted January 24, 2023 Author Posted January 24, 2023 Perhaps another idea is to figure out a way to turn off text wrapping in mobile only.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment