Skip to Content

How to change font-family of every control

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2014 at 11:44 AM

    Hi, In your index.html try ti put this

    <style>

    .sapUiBody {

    font-family: Verdana;

    }

    </style>

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 18, 2014 at 11:51 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.