Question T11120
Visible to All Users

Change the button text color ( default V2 ) theme

created 2 years ago

Hi team
We are trying to change the button text color , we want to toggle the button text color , based on enable and disable
We want the button to be in red when disabled , and white when enabled
Please see the picture attached
If you see the picture, the enabled button text is in white , for the disabled one we would want to change it to red , we would want to toggle the button text color based on different states
could you help us out with this

Show previous comments (3)

    Hi Ravikiran,
    Thank you for sharing your custom CSS. Would you please clarify which theme you apply to your surveys?

      Hi jane
      Thanks for the quick response
      we are using defaultV2 theme

      StylesManager.applyTheme('defaultV2')

        Hello,
        Thank you for the clarification. I've just tried your CSS and got the Yellow color correctly applied to the Complete button in enabled state:
        Clipboard-File-1.png
        Example.

        You can right-click the Complete button and explore which classes got applied to it. Should you have any questions or require further assistance, we are here to help.