how to overwrite my bootstrap file in my style sheet?
772
As you can see in the inspector, the site.css file is loaded, which is where I have my styles that should overwrite bootstrap, but it does not load the new content that I write, why is this?
Check that your link to the css in the head, is after the link to the bootstrap in the index, and in case some aspects are not overridden, use !important.
It would be interesting if you show us how your classes are in the file site.css
First of all, make sure that your file is correctly included in <head></head>the page.
To override a bootstrap style in front of your style put this !importantexample:
Check that your link to the css in the head, is after the link to the bootstrap in the index, and in case some aspects are not overridden, use !important.
thus
For the cases of wanting to overwrite, effectively some css file is in your body add an ID
and then in your css file modify the tags following the corresponding inheritance.
It would be interesting if you show us how your classes are in the file
site.css
First of all, make sure that your file is correctly included in<head></head>
the page.To override a bootstrap style in front of your style put this
!important
example:With this you should be able to override the bootstrap styles.