Lieutenant Dan
Lieutenant Dan

Reputation: 8284

Overriding 1 external stylesheet with another

I'm wondering if there is a way to simply override one external style sheet over another. I am using bootstrap only for the modal -- and inserting their style sheet has overridden a good deal of my current layout's styles. As opposed to downloading the bootstrap file, unminifiying it and searching for the conflicting styles, or throwing my previous global .css inline in the <head>; I'm wondering if there is simply one technique I can use to allow style sheet A.) to override style sheet B.) in areas of conflict, or with similar ids or class names.

I have tried rearranging the orders, but haven't had success.

Upvotes: 1

Views: 99

Answers (1)

DivineChef
DivineChef

Reputation: 1221

Correct jOshT you can just select the CSS for modal. Customize

Rather than trying to override your style sheet, copy and paste the styles from Bootstrap's CSS modal styles into your own, then you won't have multiple style sheets to override.

Upvotes: 0

Related Questions