Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Different color of Radio Buttons in the same question

  • RitaShen
  • RitaShen's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 years 10 months ago #216068 by RitaShen
Hi there.
can we do that have different colors of Radio Buttons in the same question?
when we use the gray color font, can the Radio Buttons change to the gray color?
 

many thanks
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago - 2 years 10 months ago #216085 by tpartner
LimeSurvey version and theme?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 2 years 10 months ago by tpartner.
The topic has been locked.
  • RitaShen
  • RitaShen's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 years 10 months ago #216124 by RitaShen
Version:3.25.21
Theme: bootswatch
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago #216138 by tpartner
Add something like this to the question source:

Code:
<style type="text/css">
  #question{QID} .radio-item:nth-child(n+5) label::before {
    border-color: #CCCCCC;
  }
 
  #question{QID} .radio-item:nth-child(n+5) label::after {
    background-color: #CCCCCC;
  }
</style>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose