Bob Bob - 1 year ago 132
Sass (Sass) Question

Customize bootstrap button font

I'm using sass-version of Bootstrap and want to customize the buttons' font, so that it differs from the system font.

I don't see any sass/less variables that would modify the font-family of my buttons:

So, how do I achieve that ?

Answer Source

The font family of buttons is inherited from the @font-family-sans-serif variable which is "Helvetica Neue", Helvetica, Arial, sans-serif as standard. You can find the variable here.

You could override it the btn class in your ccs with something like:

.btn {
    font-family: SomeFont;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download