adjust font size and alignment of link-button widget

tom_wang
Tera Contributor

i tried to clone the link-button widget and then want to adjust the button text font size and alignment in my customized widget, not sure how to do it? Using CSS or Json?

Great thanks for the sharing.

3 REPLIES 3

Mike_R
Kilo Patron
Kilo Patron

Modify the CSS. For example

.btn {
width: 100%;
font-size: 24px; 
}

tom_wang
Tera Contributor

the font-size works, but how to adjust the text align? seems like  text-align: xxxx does not take effect

Ahmmed Ali
Mega Sage

Hello @tom_wang 

 

You can add new class to HTML button element and add CSS to it. Below is screenshot showing same:

 

AhmmedAli_0-1667357467358.png

Thank you,

Ali

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali