Welcome to the LimeSurvey Community Forum

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

WARNING TEXT COLOR

  • MariAngelesCalvo
  • MariAngelesCalvo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 months 3 weeks ago #265412 by MariAngelesCalvo
WARNING TEXT COLOR was created by MariAngelesCalvo
Please help us help you and fill where relevant:
LimeSurvey version: 6.5.13
Own server or LimeSurvey Cloud:LimeSurvey Cloud
Survey theme/template:Bootswatch
================== Hello!

I am editing a LimeSurvey theme and I need to change the colour of the warning text that appears when limiting the number of possible answers - for example: minimum number of answers equals 2, maximum number of answers equals 3-:



As you can see in the screenshot, the text appears in red and I need this text to appear in white. The theme I am using is a Bootswatch extension -I attach the screenshot and the file with the theme-. I have tried to change the colour with the following scripts but it doesn't work:

.questionhelp.text-info {
  color: #FFFF; 
}
.questionhelp.text-danger {
  color: #FFF; 
}

Can you think of any solution or any script to paste in the custom.css?

Thanks!

File Attachment:

File Name: extends_ENRESA.zip
File Size:153 KB

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 3 weeks ago - 5 months 3 weeks ago #265413 by Joffm
Replied by Joffm on topic WARNING TEXT COLOR
Hi,
if you woulf like to have a white text, you may use this

Code:
.question-valid-container .text-danger {
  color:#fff !important;
}
to get this
1. Error (white and bold)
 
2. success (white and normal)
 

BTW: Seeing this design of the question I'd recommend this
 
list(radio) with "Others" at the beginning.

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 5 months 3 weeks ago by Joffm.

Please Log in to join the conversation.

  • MariAngelesCalvo
  • MariAngelesCalvo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 months 3 weeks ago #265424 by MariAngelesCalvo
Replied by MariAngelesCalvo on topic WARNING TEXT COLOR
Dear Joffm,

your solution is great! It has worked perfectly.

Also, I thank you for the advice to change the wording of the question in question. I've been dragging that script for several years to get a question template like that... I'm certainly a noob, but I hope to improve little by little.

M. Angeles.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose