Help with text-center


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?


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:

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