I want to use a Bootstrap theme, but I need customize it. What is the correct way? Should I create a new CSS file to override the default CSS?
I just wrote a post about how I've been doing it at Udacity for the last couple years. This method has meant we've been able to update Bootstrap whenever we wanted to without having merge conflicts, thrown out work, etc. etc.
The the post goes more in depth with examples, but the basic idea is:
When it comes time to upgrade your bootstrap, you just swap out the pristine bootstrap copy and everything will still work.
Here's the post with walk-through.
Code example on github is here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With