Jump to content

How to get an Image to sit flush to the edge of the page + mobile margin issues?

Recommended Posts

Site URL: https://www.margaretjane.com

Hello!

I have two questions that have been driving me insane.

1. I need some assistance getting the large green image on the right side of the page to sit flush against the edge. I've tried adjusting margins and "overriding" the code for the image itself but nothing seems to work. This image is the only thing that I want to sit right along the edge, as the rest of the page's margins are great as they are.

This image works great in mobile, but it's on the desktop site that is causing me grief. 

2. When in mobile, the three columns I have along the left side of the page become a bit distorted. The "Harrison Hollis" column is indented on the mobile site when I'd like it to left-align with the other columns below it. Unsure of how to go about fixing this. 

Thank you in advance for the help!

Screen Shot 2021-11-05 at 11.31.42 AM.png

Screen Shot 2021-11-05 at 11.31.58 AM.png

Link to comment
14 minutes ago, MargJane said:

Site URL: https://www.margaretjane.com

Hello!

I have two questions that have been driving me insane.

1. I need some assistance getting the large green image on the right side of the page to sit flush against the edge. I've tried adjusting margins and "overriding" the code for the image itself but nothing seems to work. This image is the only thing that I want to sit right along the edge, as the rest of the page's margins are great as they are.

This image works great in mobile, but it's on the desktop site that is causing me grief. 

2. When in mobile, the three columns I have along the left side of the page become a bit distorted. The "Harrison Hollis" column is indented on the mobile site when I'd like it to left-align with the other columns below it. Unsure of how to go about fixing this. 

Thank you in advance for the help!

Screen Shot 2021-11-05 at 11.31.42 AM.png

Screen Shot 2021-11-05 at 11.31.58 AM.png

You can try adding to Home > Design > Css

@media only screen and (min-width: 768px) {
  section[data-section-id="6165d6a7ade09338c14e60bd"]
    .content
    .row
    .sqs-col-5.span-5 {
    position: absolute;
    right: 0;
  }
}

@media only screen and (max-width: 767px) {
  #block-yui_3_17_2_1_1634662620943_42808 {
    margin-left: 0;
  }
}

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 - Lightbox captions only mode)
🗓️ 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
22 hours ago, MargJane said:

Hi bangank36,

Thanks so much for the help! This worked wonderfully for the columns, but unfortunately the green blob still hasn't stuck to the side of the screen 😕 If you have any other suggestions I'd love to try them out!

Thanks!

It looks fine to me. Can you take a screenshot? Also, do you need to center footer everything in mobile only?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.