Change size of stacked ion-label

I couldn’t find out to change the size of a stacked ion-label.

Does anyone knows how to do it ?

+1 want to know this, too

You could add a class to your label and edit the rest in CSS.

As example:


<ion-label class="testclass">Your Label</ion-label>


font-size: 30px;

Sorry dude! It doesn’t work.

Ok, here is the trick: you have to use !important in your class:

font-size: 1.0em !important;

Then it works.

1 Like