Hello I’m trying to add some CSS to a siteOrigin Image.
under widget class I wrote image-round to ref to this css class.
I went to SiteOrigin CSS and added the class like so:
.image-round { border-radius: 50%; }
But it has not effect on the image at all. Also when I go into the visual mode and click the image, it shows that it only has the img tag and the so-widget-image class applied to it.
Can someone tell me what I’m doing wrong?
Hi Knntha,
The widget class is a general setting and to ensure consistency it will always be applied to a div with the widget being nested.
Basically, for your CSS to work you need to adjust your selector by adding the .so-widget-image class as the widget class isn’t directly added to the image. It’ll end up looking like so: