Adding Bootstrap To A Website?


#1


Hallo. Sorry, this might be a dumb question...I'm trying to add bootstrap to my basic website, and I've added this from the BootstrapCDN:


_<!-- Latest compiled and minified CSS -->_
_<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">_

_<!-- Optional theme -->_
_<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">_

_<!-- Latest compiled and minified JavaScript -->_
_<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>_

But when these are added, some elements can't be styled, e.g. h1 {color: red;} doesn't work. If I remove the bootstrap from the html, elements go back to being styled. Does anyone know why this is?


#2

@nonplussednon,
With a google search
loading bootstrap.min and bootstrap-theme.min site:stackoverflow.com
for instance
http://stackoverflow.com/questions/18327543/how-to-use-bootstrap-theme-css-with-bootstrap-3