Welcome to the LimeSurvey Community Forum

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

Switching colours for array responses/ radio-item

  • bierbier
  • bierbier's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 3 months ago #221404 by bierbier
Hello ,
I am trying to change the colours for array answers/ radio-item in the fruity templet. Unfortunately I am not getting anywhere.

Does anyone have experience with this and can help me?

Many thanks in advance
Attachments:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 3 months ago #221413 by tpartner
Something like this in your custom.css file:
Code:
.radio-item label::before {
  outline: none !important;
}
 
.radio-item label::after {
  background-color: #850044; 
  outline: none !important;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: bierbier
The topic has been locked.
  • bierbier
  • bierbier's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 3 months ago #221416 by bierbier
Thank you very much!
That worked for me:

.answer-item.radio-item :before {
outline: none !important;
}

.answer-item.radio-item :after {
background-color: #850044;
outline: none !important;
}
The topic has been locked.
More
3 years 2 months ago #222547 by gema.antequera
Replied by gema.antequera on topic Switching colours for array responses/ radio-item

Thank you very much!
That worked for me:

.answer-item.radio-item :before {
outline: none !important;
}

.answer-item.radio-item :after {
background-color: #850044;
outline: none !important;
}


Hello!

Sorry,  this option doesn't work for me. I used it on an older version of the Limesurvey, which worked perfectly. But now I'm using  Version 5.2.2  and it doesn't work at all.
Can anyone please help me to find a solution? Beforehand: I'm rather new in this field.

Many thanks in advance!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago - 3 years 2 months ago #222560 by tpartner
It does work for me in 5.2.2.

Did you clear the browser cache and assets?



 

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 3 years 2 months ago by tpartner.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
3 years 2 months ago #222571 by gema.antequera
Replied by gema.antequera on topic Switching colours for array responses/ radio-item
Yes, I did the cache. But what are and where are the assets?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #222581 by Joffm
"Configuration / Global Settings / General"
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose