adjust font size and alignment of link-button widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2022 07:22 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2022 07:46 PM
Modify the CSS. For example
.btn {
width: 100%;
font-size: 24px;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2022 09:02 PM
the font-size works, but how to adjust the text align? seems like text-align: xxxx does not take effect

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2022 07:51 PM
Hello @tom_wang
You can add new class to HTML button element and add CSS to it. Below is screenshot showing same:
Thank you,
Ali
Thank you,
Ali