I am using OneEngine theme on WordPress to create an About Me section. I want to create a similar part in my website.
Using the code:
<span><div id="about" class="row">
<span class="col-md-6">
<div class="img-circle">
<img src="http://placekitten.com/g/400/200" />
</div>
</span>
<span class="col-md-6">
<p>Hello :) Testing. </p> </span>
</div> </span>
I am unable to make the image appear as a circle like above. I have tried adding CSS in ET Text and using <div class="img-circle">
but that does not work.
You need to use
img-circle
on theimg
tag and not on the parent elementdiv
. Remember to use equal width and height image for circular images to avoid distortion.Add following code into your style.css
Add the
img-circle
class to theimg
tag, not thediv
tag. OR, define the class like: