cancel
Showing results for 
Search instead for 
Did you mean: 

How to change font-family of every control

surendra_pamidi
Contributor
0 Kudos

Hi All,

I want to use custom  font-family for all my controls in my UI5 application.

Can you give any suggetions for changing font-family..

Thanks,

Surendra.

Accepted Solutions (0)

Answers (2)

Answers (2)

Qualiture
Active Contributor
0 Kudos

You may try overriding one or more of these CSS classes : List of Supported CSS Classes or alternatively do 'Inspect Element' for each UI control and override the correct CSS class

surendra_pamidi
Contributor
0 Kudos

Hi Robin,

I want to use new custom font-style which is not included in UI5.

Thanks,

Surendra.

Qualiture
Active Contributor
0 Kudos

What I meant was, by overriding one or more of the listed CSS classes (or the classes you'll see when you Inspect Element) you can define your own custom font style

Former Member
0 Kudos

Hi, In your index.html try ti put this

<style>

.sapUiBody {

font-family: Verdana;

}

</style>