Texts with undesired effect in Bootstrap

4

Why does my text appear with another text below it after I add the Bootstrap library on the page? (Notice the Copyright and the text from the top)

    
asked by anonymous 25.05.2016 / 03:55

1 answer

3

This is because Bootstrap has its own CSS styles for tags <p> , <h6> , etc.

If you inspect the style of the element, you'll see that Bootstrap adds several styles to these tags. And that makes it a little "strange" in your application.

You can solve this in two main ways:

1 (recommended) - In your project's CSS, override the style of the tag in question (probably <hx> , where x is the header value (1, 2 ...)) with the style you want.

2 - Change the style of your bootstrap code to the style you want.

I hope I have helped:)

Sincerely,

    
25.05.2016 / 04:36