Make Divi Buttons Round

Written by Dan Mossop

The Divi Button module lets you easily add buttons to your Divi builder pages. Normally these are rectangular. If you'd like to make a button circular instead, here's how to create round Divi buttons.

Make Divi Buttons Round using CSS

 It's relatively simple to make a Divi button round by adding some CSS properties into the module's custom CSS option at:

Button Settings > Advanced > Custom CSS > Main Element

Like so:

Here's are the CSS properties:

border-radius: 50%;
width: 200px;
height: 200px;
line-height: calc(200px - 0.5em) !important;
text-align: center;

To resize the buttons, just replace the instances of 200px with your desired diameter. The border radius setting actually makes the button round and the line-height vertically centers the text, making a slight correction to ensure the text is properly centered.

Transform Your Posts with AI-Driven CTAs

Boost your WordPress site's interaction and conversion rate with WP Magic CTAs. This AI-powered plugin crafts tailored call-to-actions for each post, driving user engagement and directing traffic efficiently. Perfect for boosting offers, capturing emails, and enhancing post effectiveness.

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

We may earn a commission when you visit links on our website.

0 Comments

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

Your email address will not be published. Required fields are marked *.

News