I've been trying to center a paragraph in my project but it's not working out.
I attempted using margin:0px auto;
and the text-center
features, but they didn't have the desired effect.
<div class="row text-center">
<p>
You can contact us using the form below for more information or questions.<br>
We will get back to you within 24 hours for sure.
</p>
</div>
Here is the CSS code:
.team-content p {
font-family: 'Roboto Slab', serif;
font-size:16px;
color:#777;
margin:50px auto;
}
Screenshot:
I used a container div
for these circles and applied the col-sm-6
class.
Furthermore, I tried adjusting the spacing between the circles by using padding-left
and padding-right
with matching values. However, this caused issues with responsive display.