agreiner Posted November 9, 2020 Share Posted November 9, 2020 Site URL: https://wild-within-pt.squarespace.com Hi all! I'm trying to use CSS to move an image to align to the right edge of the window just in mobile view. I've been able to use CSS to get the section above to align the image block to the left edge of the screen but cannot figure out how to get the next section to move the image block to the right edge of the screen. I've attached screen shots of what I'm talking about and any help is greatly appreciated! Link to comment
Beyondspace Posted November 9, 2020 Share Posted November 9, 2020 Your site is private, please enable password and show us 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
agreiner Posted November 9, 2020 Author Share Posted November 9, 2020 Site link password: wildwithinpt Link to comment
Beyondspace Posted November 10, 2020 Share Posted November 10, 2020 6 hours ago, agreiner said: Site link password: wildwithinpt have you solve it, I saw your images are fullwidth 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
agreiner Posted November 11, 2020 Author Share Posted November 11, 2020 @bangank36 I haven't solved it. I'm looking to move that sunrise graphic above the words "doula care" to the right so that it lines up on the right edge of the screen. I was able to achieve that on the left edge with the rainbow graphic on the section above but can't seem to figure it out for the sunrise graphic + the right edge. Link to comment
Beyondspace Posted November 12, 2020 Share Posted November 12, 2020 8 hours ago, agreiner said: @bangank36 I haven't solved it. I'm looking to move that sunrise graphic above the words "doula care" to the right so that it lines up on the right edge of the screen. I was able to achieve that on the left edge with the rainbow graphic on the section above but can't seem to figure it out for the sunrise graphic + the right edge. I used this section[data-section-id="5fa82c0b0feb6513894ce378"] { overflow:hidden; } @media only screen and (max-width: 768px) { #block-yui_3_17_2_1_1604859210143_16364 { text-align: right; display: inline-block; width: 100%; height: 150px; max-width: initial; padding: 0; } #block-yui_3_17_2_1_1604859210143_16364 .sqs-block-content { position: absolute; width: 80px; right: -4vw; } } 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
agreiner Posted November 12, 2020 Author Share Posted November 12, 2020 @bangank36 that worked, thank you so much! Link to comment
Tjudge Posted January 20, 2021 Share Posted January 20, 2021 I am having a similar issue. I want my text align left in the banner but I want the image to be on the top for mobile. Do you know how to code this? Attached is what I would like it to look like but on mobile the image shows up after the words. Link to comment
Beyondspace Posted January 20, 2021 Share Posted January 20, 2021 1 hour ago, Tjudge said: I am having a similar issue. I want my text align left in the banner but I want the image to be on the top for mobile. Do you know how to code this? Attached is what I would like it to look like but on mobile the image shows up after the words. You should attach your site url 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.