CarinaCase
CarinaCase

Reputation: 273

Why did simply loading bootstrap into my document screw up my page?

I designed a page. Everything was working fine, and then I was going to add a carousel into a mobile media query in lieu of what I had already had, and noticed that just by loading in Bootstrap all my page got messed up.

What is bootstrap changing, or overriding? Or what does Bootrstrap override by default that I don't know about. I tried googling for an answer for a few hours but couldn't find anything. I even checked an article top 10 common mistakes with bootstrap.

Upvotes: 1

Views: 230

Answers (2)

Kevin tierney
Kevin tierney

Reputation: 86

you could potentially have class names that are also bootstrap class names, which would override whichever styles you had on those classes. If you look at the bootstrap documentation you can compare your class names to bootstraps. whichever components of yours are effected, check for similar components from bootstrap and you may just have to change some of your class names.

Upvotes: 1

Osama Khawar
Osama Khawar

Reputation: 74

Double check your media query. You might have set it wrong. Also, which carousel are you using? Bootstrap carousel? Please upload some attachments for better understanding.

Upvotes: 1

Related Questions