Jump to content

Rounding corners of portfolio/gallery thumbnails

Go to solution Solved by tuanphan,

Recommended Posts

  • Solution
13 hours ago, Nebo said:

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

Hi all,

I'd like to round the corners of the images displayed on my homepage in the gallery/portfolio thumbnail section. I've scoured the forums and tried all the CSS solutions suggested in the answers so far but nothing seems to work. Would love and appreciate some help 🙏🏽

Thanks!

Add to Design > Custom CSS

/* Round corners portfolio items */
body.homepage a.grid-item, body.homepage .grid-image {
    border-radius: 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
4 hours ago, ZACELA258 said:

How do you apply this effect to all portfolio pages?

 

Use this code

/* Round corners portfolio items */
a.grid-item, .grid-image {
    border-radius: 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
  • 2 years later...

Hey @tuanphan Thank you so much for this! However, this is not working on my project thumbnails on my site. Can you help me figure out why? I am using "Gallery" images for my projects is this why? Heres my site:
adamnienow.com

I found a chrome extension that told me these are collection items "#collection-656fce0fe76c107c57b7996e"

Do I need to paste this into the code somewhere?

Screen Shot 2023-12-06 at 2.04.40 PM.png

Edited by NienowBrand
Additional info
Link to comment
On 12/7/2023 at 5:02 AM, NienowBrand said:

Hey @tuanphan Thank you so much for this! However, this is not working on my project thumbnails on my site. Can you help me figure out why? I am using "Gallery" images for my projects is this why? Heres my site:
adamnienow.com

I found a chrome extension that told me these are collection items "#collection-656fce0fe76c107c57b7996e"

Do I need to paste this into the code somewhere?

Screen Shot 2023-12-06 at 2.04.40 PM.png

Use this code

article.index-item.has-item-image, article.index-item.has-item-image figure {
    border-radius: 15px !important;
}

 

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.