Welcome to the LimeSurvey Community Forum

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

change Checkbox color

  • bierbier
  • bierbier's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 4 weeks ago #221444 by bierbier
change Checkbox color was created by bierbier
hi, I am trying to change the checkboxes (Question type multiple choice). But I can't manage to change the color.

Can someone help me?

I use the extension of the fruity theme and the Limesurvey 5 version.

thank you in advance
Attachments:
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 4 weeks ago #221446 by Joffm
Replied by Joffm on topic change Checkbox color
Hi,
to do such things, always explore the affected classes with the webdevelopment tool that is included in each browser.
In your case you will find this (Chrome)


You see the standard "sea green" color.
You can change directly here to see the effect.

So this will do the trick
Code:
.checkbox-item input[type="checkbox"]:checked+label::after {
    background-color: red;
    color: white;
}

 

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose