emmaburtonblog Posted September 5 Share Posted September 5 Site URL: https://algae-turquoise-ap65.squarespace.com/ I am designing a website for a client and have used code to angle images and shapes. On the homepage I have angled the shapes and images so they fit together - so it looks like a framed photo - and also have codes so when you hover over these images another image appears. I knew this wouldn't work on mobile view, however the angled shapes and images are completely different and angled too much on mobile. Is there a way of angling them differently on mobile? Or deleting the angle code just for the mobile version? Or to fix this so it doesn't look messy? HOPE THIS MAKES SENSE!! thanks Link to comment
Ziggy Posted September 5 Share Posted September 5 34 minutes ago, emmaburtonblog said: Site URL: https://algae-turquoise-ap65.squarespace.com/ This is set to Private, can you add and share a site wide password? How are you setting the angles? 35 minutes ago, emmaburtonblog said: Is there a way of angling them differently on mobile? Or deleting the angle code just for the mobile version? Yes, use media queries to have different angles for desktop and mobile. 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! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
emmaburtonblog Posted September 5 Author Share Posted September 5 Site password is: 1John4v18 And I've used the code: #blockID {transform: rotate(+15deg);} and then put the block ID in for the shape and photo I needed angled Link to comment
Ziggy Posted September 6 Share Posted September 6 10 hours ago, emmaburtonblog said: Site password is: 1John4v18 The site is still set to private. 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! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
emmaburtonblog Posted Saturday at 06:06 PM Author Share Posted Saturday at 06:06 PM So sorry! It should work now I've popped it on password only Link to comment
Solution Ziggy Posted Monday at 09:52 AM Solution Share Posted Monday at 09:52 AM Looks like the angles are the same on mobile, but if you do want to have no angle on mobile use this media query: @media only screen and (min-width:768px) { #blockID {transform: rotate(+15deg);} #blockID {transform: rotate(+15deg);} #blockID {transform: rotate(+15deg);} } Or to have different on desktop and mobile: // desktop angles @media only screen and (min-width:768px) { #blockID {transform: rotate(+15deg);} #blockID {transform: rotate(+15deg);} #blockID {transform: rotate(+15deg);} } // mobile angles @media only screen and (max-width:767px) { #blockID {transform: rotate(+15deg);} #blockID {transform: rotate(+15deg);} #blockID {transform: rotate(+15deg);} } 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! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
emmaburtonblog Posted Monday at 08:27 PM Author Share Posted Monday at 08:27 PM Thank you! That worked 🙂 Also, I've popped a code in my footer injection for a 'scroll back up button'. I don't need the button on my 'contact' page - how do I remove it from that page only? 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