Home>Support>Circle Icon – Increase Height and Center Content

Circle Icon – Increase Height and Center Content

I read the thread here (https://siteorigin.com/thread/making-circle-icon-widget-background-the-same-size/) about increasing the height of the circle icon container. This was fantastic and did what I wanted except for one thing. How can I center the content in the container?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Samstifter,

    I suspect you’re asking about vertically centring the icons. This is notoriously hard in CSS but you should be able to do this with the following CSS. Please be sure to replace the CSS referenced in that thread with the following. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Just add the following code.

    .circle-height {	min-height: 300px;	position: relative;}.circle-height .circle-icon-box {	position: absolute;	top: 50%;	right: 0;	left: 0;	transform: translateY(-50%);}

    You might also need to install the SiteOrigin CSS Editor.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More