Jump to content

Add Border Around Image On Just One Page

Recommended Posts

  • 1 month later...
On 3/26/2022 at 8:00 AM, Gigie_Hall said:

Hi there! This worked like a charm but it also added a border to an image in my footer. Can I remove the border on just that image using its ID? Thanks!  

If you use SS 7.1, use this code

body#collection-5dd2b4c8c4ddf610ccb6e108 article .has-aspect-ratio {
    border: 1px solid green;
}

 

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
  • 4 months later...
On 7/31/2022 at 4:43 PM, jesleacreative said:

Hello! I'm looking for some help to I'd like to add a border to the video I've added using a code block at the bottom of this page so it matches the one I made for the static image its overlayed on. 

https://kandcolashbar.squarespace.com/services

password: jesleacreative 

the block id for it is #block-yui_3_17_2_1_1658815171800_100847

 

Thank you!

 

 

Screen Shot 2022-07-31 at 7.42.49 pm.png

Add to Design > Custom CSS

video {
    border: 20px solid #fef0dd;
}

 

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.