First off great theme, it has been super easy to work with. I have a picky client that wants 5 Icon boxes on the homepage and the need to be perfectly centered. The description in the icon box can stay aligned left.
1. I need the Icon and Icon title centered in each box
2. Also need each icon box needs to have same px gap on right and left sides. The far left icon box is further away from the edge. I have tried just increasing the far left box padding-left but it doesn’t seem to move it over any. I have searched in the forums and have a few solutions but can never get the icon centered.
this moves the text over but I need icon to be right next to it
#top .iconbox_content_title {
text-align: center;
}
-thanks
Hey daileyr7!
Please add following code to Quick CSS
.home .iconbox_icon { text-align: center; width: 100%; }
.home .iconbox .iconbox_content .iconbox_content_title { padding: 10px 0 0 1px; }
.home .iconbox_content_container { text-align: center; }
Best regards,
Yigit
That is really close. I want the icon and title text on the same line centered. See this image
Hey!
First make sure you have selected “Display small icon at the left side of the title” in the Icon Box Shortcode settings.
Then add the following code to your Quick CSS or custom.css
.home .iconbox .entry-content-header{width:90%; margin: 0 auto;}
You can adjust the width according to your design.
Cheers!
Arvish