Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 23h 35m 02s
Claim 50% off
Solved SP Page Builder

Image radius on feature box

Asked by Alison 1 year ago Last activity 1 year ago

Hi

I am using feature box and I want the image to be round.
I put in a Border Radius of 200 on the image and the image look circlular on the SPPB edit page.
But when I publish the page the image is square.

Can you help please?

Image showing edit page showing image settings and result on the edit page is here
https://postimg.cc/62YVK4yG

Image showing published page is here
https://postimg.cc/fVcBFLjY

thanks
Alison

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
1 year ago · edited

Alison, you can always create a custom class name, and use it in addons or even articles which should have radius-border for image. It's time saver and so simple, I'm surprised no one here has come up with it ;]

  1. Inside template custom.css or Custom CSS area add:

.circle img { border-radius: 100% !important; }

  1. Then inside selected Addon settings > Style (tab) > CSS Class : circle

And yes, 100% is better than px value. Becuase it gives you real circle shape regardless of image size.

7 more replies

Mehtaz Afsana Borsha Staff

HI

Thanks for contacting us. You can use this CSS in your custom.css file

img.sppb-img-responsive {
    border-radius: 200px !important;
}

-Regards.

Alison Asked this

hi Mehtaz

That works, but it makes all images throughout the site round. I just want these specific images to respond to the setting - is that possible?

Mehtaz Afsana Borsha Staff

Sorry for that, could you please mention which portion exactly do you want to change?

Alison Asked this

But all feature boxes would be OK for this site - just not all images

Alison Asked this

Thank you Paul, that is brilliant.

And you have just taught me something I will be able to use ongoing.

5 Star *****

Mehtaz Afsana Borsha Staff

Hi Alison,

Glad to know that its solved and thanks for accepting the answer. And thanks Paul for helping her.

Log in to reply.