Comments Andy started the conversationSeptember 10, 2014 at 1:52amHow can I style images on my site to appear circular, like the gallery images in the Fineliner demo site? 296Paul repliedSeptember 10, 2014 at 8:41amHi Andy,The concept is; create a custom CSS class (for creating round shape styling) and put the class for the image element.Please try this:1. Go to "Style Customizer > Others > Custom CSS" and enter this new class:.img-round img { border-radius: 50em; }2. On the page edit screen, click the pencil icon of the image element to open its window (screenshot: http://cl.ly/image/16020Z0O370g ).3. Then enter that created class into the "Extra class name" field of the element (as showing in the above screenshot).That image should now use the CSS class with the round shape. (Make sure your image is square so it will be equally round.)Hope this helps!Regards,PaulAndy repliedSeptember 10, 2014 at 10:51amHi Paul,Thank you VERY much for your help! It is much appreciated.Your solution appears to do the trick.My resulting image is not perfectly round, BUT I suspect that is because the source image is slightly rectangular (see attached screenshot).I will try again with a square image later, and expect I'll get a perfect circle then.Thanks! :-)Andy. 296Paul repliedSeptember 11, 2014 at 8:02amYou're welcome, Andy! P.S. Yes, the source image should be square so it will be all equally round. :) Sign in to reply ...
How can I style images on my site to appear circular, like the gallery images in the Fineliner demo site?
Hi Andy,
The concept is; create a custom CSS class (for creating round shape styling) and put the class for the image element.
Please try this:
1. Go to "Style Customizer > Others > Custom CSS" and enter this new class:
2. On the page edit screen, click the pencil icon of the image element to open its window (screenshot: http://cl.ly/image/16020Z0O370g ).
3. Then enter that created class into the "Extra class name" field of the element (as showing in the above screenshot).
That image should now use the CSS class with the round shape. (Make sure your image is square so it will be equally round.)
Hope this helps!
Regards,
Paul
Hi Paul,
Thank you VERY much for your help! It is much appreciated.
Your solution appears to do the trick.
My resulting image is not perfectly round, BUT I suspect that is because the source image is slightly rectangular (see attached screenshot).
I will try again with a square image later, and expect I'll get a perfect circle then.
Thanks! :-)
Andy.
You're welcome, Andy!
P.S. Yes, the source image should be square so it will be all equally round. :)