Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

How to add borders around images


Recommended Posts

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...
1 minute ago, Hannahmay said:

@tuanphan I tried this here but got an expanded border. Do you have code for borders on images and also text boxes (that doesnt use the markdown box)? Just specific boxes and images not them all - #block-yui_3_17_2_1_1598373529135_8687
{border: 3px solid white;}

https://loveintegrationyoga.squarespace.com/

 

password - loveintegrationyoga

 

Which boxes? Can you take a screenshot?

Link to post
  • 1 month later...

Try adding

#block-yui_3_17_2_1_1598373529135_8687
{border: 3px solid white;

background: white;}

to the image! You might have to mess with the border sizes to make it even, but at least it gets rid of that pesky border gap.

Link to post
  • 4 months later...

@failbetter

Please post the URL for the page where your your image is located on your site.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password is not a security breach. Please read the documentation at the link provided to understand how it works.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to post
  • 2 weeks later...
On 2/22/2021 at 8:28 PM, failbetter said:

does anyone know how to have a border round an inline image but not its caption? 

Hi. Can you share site url?

Link to post
  • 1 month later...
On 7/20/2020 at 9:55 AM, tuanphan said:

All images? Add to Home > Design > Custom CSS


img {
	border: 5px solid violet;
}

 

Hey there. I tried using this code and it only gives me a border on the left side and top of the image. Any suggestions?

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...