Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Custom CSS for Radio Button component

Hello all,

I have a question I want to change the text color of radio button from black to white by CSS. How is this possible?

I have been trying it for a while, but no luck.

Could anyone help me on this?

Many thanks.


To highlight the second radio button of a Radio Button Group component:

.sapUiRbG span:nth-child(2) {color: #FFFFFF}

Use IE F12 tools at runtime to familiarize yourself with all the CSS classes that SAPUI5 components use.

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question