Hellooo guys,
i'm trying to center my text with bootstrap, but nothing happens. What's wrong?
<footer >
<p >footer</p>
</footer>
thanks, your ramen
CodePudding user response:
The syntax looks right to me. Are the other bootstrap styles working? Maybe double check that you linked bootstrap.
CodePudding user response:
There are multiple solutions here
Solution 1
i dont see a benefit here for using row , so you can remove it unless you have col-* inside your footer
<footer >
<p >footer</p>
</footer>
Solution 2
or if you want to keep row just add this class to your row justify-content-center
<footer >
<p >footer</p>
</footer>
Solution 3
Insert a new element , add col-12 to it
<footer >
<div >
<p >footer</p>
</div>
</footer>