How to change font for button in Ionic?


#1

I have the problem with setting font in Ionic, nothing work i used @font-face - not working.
And I have no idea how to load font- in which location i should put font (which location) and what format it should be.
Im curious, how change font family only for buttons


#2

You can do something like this and just override whatever classes or types you want.

/** Overridding Ionic Defaults */
h1, h2, h3, h4, h5, h6, p, .h1, .h2, .h3, .h4, .h5, .h6 .item, .item-divider{
    color : #5B554F;

    font-family: 'Comic Neue', sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    line-height: 1.5;
}

So:

.button{
    font-family: 'Comic Neue', sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    line-height: 1.5;
}