Jump to content

Border being cut off on one side of image

Recommended Posts

Site URL: https://www.juliahogarth.com/contact-20

I always seem to have this issue and can't quite figure out why or how to fix it. 

See the website for the example. The border appears fine on 3 sides (top, right and bottom) but on the LHS it just disappears. 

I have tried multiple versions of the code to make it appear but nothing works. 

Current code being used:

#block-yui_3_17_2_1_1628045476979_9446 img {
  border: 3px solid #a34529 !important;
}

Any help would be greatly appreciated!

Thanks

Screen Shot 2021-08-09 at 10.25.40 am.png

Link to comment
  • Replies 3
  • Views 920
  • Created
  • Last Reply

Top Posters In This Topic

On 8/9/2021 at 7:26 AM, cahlia33 said:

Site URL: https://www.juliahogarth.com/contact-20

I always seem to have this issue and can't quite figure out why or how to fix it. 

See the website for the example. The border appears fine on 3 sides (top, right and bottom) but on the LHS it just disappears. 

I have tried multiple versions of the code to make it appear but nothing works. 

Current code being used:

#block-yui_3_17_2_1_1628045476979_9446 img {
  border: 3px solid #a34529 !important;
}

Any help would be greatly appreciated!

Thanks

Hi, use this code

#block-yui_3_17_2_1_1628045476979_9446 img {
    border: 3px solid #a34529 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
}
div#block-yui_3_17_2_1_1628045476979_9446 .image-block-wrapper {
    overflow: visible !important;
    position: relative;
    right: 10px;
}

 

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
  • 1 year later...
On 3/8/2023 at 6:25 AM, ghostpep___ said:

I have the same problem with all image and video blocks on my page. Could you provide the code for a site-wide fix? Thank you!

 

https://owl-armadillo-3aes.squarespace.com/mixtape

password: brineintopedro

 

Hi,

You mean right border, something like this section?

image.thumb.png.e139e1e286a308f6c9a6d6ef3e64735f.png

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.