samedi 2 juillet 2016

Bootstrap change 768px break point

So I just manually created some css overrides to make a navigation bar collapse at <940px instead of at <768px. But now I realize that I need the same behavior for all my components. For example I have a row with two columns. And they collapse at <768px, but I need them to collapse at 940px.

I could of course go through the source code again and make some new overrides, but I'm sure some day I would find another thing that is still collapsing at <768px.

So how can I simply change the bootstrap break point globally for all components?

I'm currently thinking about just running a text replace script on my bootstrap source files... but who know what could go wrong.

Aucun commentaire:

Enregistrer un commentaire