Tagged: gallery, grid, Portfolio, rounded corners
Hi there,
I’m trying to round the corners of all portfolio grids on my website, but so far no luck. Here’s the most recent attempt – any suggestions?
.grid-image img {
border-radius: 3px;
}
Thanks!
Hey 1lizcollins,
You have to use a higher radius. I adjusted your code to the following:
.grid-image img {
border-radius: 22px!important;
}
Please check to confirm and let me know if it is working.
Best regards,
Jordan Shannon
Hi all,
this works fine.
But how do you also round the edges from the hovered portfolio grid image?
.grid-image img {
border-radius: 22px!important;
}
a:hover .grid-image {
border-radius: 22px!important;
}
this doesn’t work :-(
Txs to y’all
Stefan
Hi,
Typically the portfolio grid mouse-over is an overlay color, in which you would use this:
.grid-image img {
border-radius: 22px!important;
}
.grid-image:hover .image-overlay {
border-radius: 22px!important;
}
if this doesn’t help then please link to your example page so we can investigate.
Best regards,
Mike