How to make the grid items circular correctly #9509
-
DescriptionSo I am trying to create a list of people in a website using the grid
I could not find the discussion, bit I once asked how to make the items (cards) appeared circular. I was pointed to edit the
The result looks nice (apparently): But then, when playing around with the page, I noticed that if I changed the window width, the circle cards just became (ugly) ovals: How can I make the |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Beta Was this translation helpful? Give feedback.
-
Thanks, Yeah, this is an HTML/CSS-related question. I will play around with what you suggest, but shouldn't this be a simple adjustment under the listing:
type: grid
image-shape: [rectangle, round, rounded] This is already a default feature in the |
Beta Was this translation helpful? Give feedback.
-
I might have found a simple tweak to the .card-img {
border-radius: 50%;
height: 10em;
width: 10em;
} |
Beta Was this translation helpful? Give feedback.
I might have found a simple tweak to the
.card-img
class, that helped in my case: