Jump to content

Adding border to gallery and slideshows without adding border to logo at top

Recommended Posts

Hey I want to add a white border to my slideshow and gallery images but not the logo at the top of my site so I figure I had to add custom css. I am using the avenue template. Anyone have a code I can add to the custom css? and do I add it to the custom css under site design or in the code for each gallery? Thanks so much.

Link to comment

Please post the URL for a page on your site where we can see your issue.

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 does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
5 hours ago, creedon said:

Please post the URL for a page on your site where we can see your issue.

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 does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

oops sorry! thought that the website posted since i filled it out on the form. 

 

website is www.jaredboaz.com

thanks!

Edited by jaredboazphoto
Link to comment
On 10/26/2022 at 9:23 AM, jaredboazphoto said:

oops sorry! thought that the website posted since i filled it out on the form. 

 

website is www.jaredboaz.com

thanks!

Add to Design > Custom CSS

div#block-yui_3_17_2_1_1666713857941_1860 img {
    border: 1px solid white;
}

 

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
On 10/27/2022 at 6:48 AM, tuanphan said:

Add to Design > Custom CSS

div#block-yui_3_17_2_1_1666713857941_1860 img {
    border: 1px solid white;
}

 

Thank you! That worked for the home page slide show but what about the gallery pages and the about me page? doesn't seem like it was applied to those. Thank you so much!

Link to comment
On 10/30/2022 at 1:12 AM, jaredboazphoto said:

Thank you! That worked for the home page slide show but what about the gallery pages and the about me page? doesn't seem like it was applied to those. Thank you so much!

Use this new code

div#block-yui_3_17_2_1_1666713857941_1860 img, div#block-868612f6b95985605c09 .has-aspect-ratio, .slide a {
    border: 1px solid white;
}

 

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.