Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230807

How to set font-style and font-size for all pages in ionic 3?

$
0
0

First you must import Style at this path
F:\Project\DemoApp\node_modules\ionic-angular\fonts

image

Then add font into Variable.scss before @import “roboto”;(we get this as default )
@import “tradegothic”;

And add this lines in app.scss

ion-app.ios {
font-family: TradeGothic !important;
font-size: 15px;
}

ion-app.android {
font-family: TradeGothic !important;
font-size: 15px;
}

then re run app


Viewing all articles
Browse latest Browse all 230807

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>