Jump to content

Round corners on list items

Go to solution Solved by Lesum,

Recommended Posts

Posted

I'm using a simple list on this draft website: https://harmonica-pumpkin-n8yx.squarespace.com/ (password: signs)

I would like to round the list item corners by 10px. I found a CSS for it (below), but it doesn't seem to work - not sure if the code is outdated or something else is wrong? Any advise would be much appreciated! 

Here is the code I've tried:

.list-item {

border-radius: 10px;

}

  • Solution
Posted

@tiinamaria Hi! You can add the following to Website > Pages > Website Tools > Custom CSS.

.user-items-list-simple .list-item-media-inner:not([data-aspect-ratio="original"]) .list-image {
    border-radius: 10px !important;
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Posted

@Lesum apologies I meant the homepage banner! I'd like to limit its height on mobile, and also change the positioning so that more of the key elements display.

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.