Help with text-center


#1

I cannot find the problem that makes the text-center in level-2 not work. I’ve tried to put <h2 class="text-center"> CONTACT ME</h2> in other part. It works. But when I put it here, it won’t work. Could you give me a hand?


#2

You have two versions of bootstrap added to your project, which is causing a conflict and preventing your text from centering.

In CodePen, click Settings -> CSS and remove the link to Bootstrap 4:

https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.6/css/bootstrap.min.css

Once you do that, your “Contact Me” text will be centered as expected.