cancel
Showing results for 
Search instead for 
Did you mean: 

How to bold the text on a button

former_member544949
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

arijit_das
Active Contributor

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

.myButton{
font-weight: bold;
}
former_member544949
Participant
0 Kudos

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.

arijit_das
Active Contributor
0 Kudos

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

former_member544949
Participant
0 Kudos

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!!

TammyPowlas
Active Contributor
0 Kudos

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