barakuna Posted March 17, 2023 Posted March 17, 2023 On my web page I have a photo in my footer. When I switch to mobile mode it does not look good. If I rotate the photo on mobile mode 90 degrees it looks perfect. But then it rotates the photo on desktop mode too which I do not want. Ideally, I want the desktop mode to be horizontal and mobile mode vertical. How can I do this? Thanks.
qosmic Posted March 17, 2023 Posted March 17, 2023 An easy option would be to add two photos to the footer, one in each orientation you want, then hide the mobile photo on desktop and hide the desktop photo on mobile with custom CSS. There's many guides here and online for how to do that. In short, you want to set the break point with @media screen. @media screen and (max-width: 768px) { #DesktopPhotoBlockID { display:none; } } In this case, we're saying up to a maximum width of 768 pixels, use the code in the brackets. For block ID, you need to find the block ID of the desktop photo since that's the one you want to hide. barakuna 1 .techCRM | Email Marketing | eCommerce | Accounting Systems | Data Migration | Automation | App IntegrationsOur Mission - Contact
Mdhanjal Posted March 18, 2023 Posted March 18, 2023 share site url pls Hi, I'm BITTU. A website developer with 10 years experience with Squarespace. if you need help and work with me, Email me here: - mandeepsquarespace@gmail.com Hire Upwork: - https://www.upwork.com/freelancers/~01eed466e76c89e024 Behance: - https://www.behance.net/mandeepSquarespace Best Hourly Rate: - $15 Per Hour
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment