Skip to Content
0

How to bold the text on a button

Dec 10, 2017 at 07:17 AM

62

avatar image

Hi Experts,

I am using SAP design studio 1.6 and need to bold a text on the button.

I’ve tried "sapMBtn, sapMBtnBase classes but no success. Any one has any idea how to achieve this?

Any help will be appreciated.

Thanks.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Arijit Das Dec 11, 2017 at 06:23 AM
1

You can simply define a css class as below and assign to the button component:

.myButton{
font-weight: bold;
}
Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hi Arijit,

Thanks for your reply. But the way you provided doesn't help. The text on the button doesn't get bold. Any idea.??

Thanks.

0

Can you please post a screenshot? Did you assign the class name to the component correctly ?

0

Yes Arijit, I assigned the class name to the component. I added .sap


MBtnDefault class with my own class and now it's working.

Thanks for your help!!

0
Tammy Powlas
Dec 10, 2017 at 11:18 AM
0

Hello - this is covered in the SAP Help - see https://help.sap.com/viewer/c855e08c1a274d51ab4f0463dfdd9c40/1.6.6.0/en-US/3ba9f85e72bc1014ae0faa81b0e91070.html - if this doesn't work for you, please share more details, screen shots

Share
10 |10000 characters needed characters left characters exceeded