Welcome to the LimeSurvey Community Forum

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

Change background color mandatory question error modal window

  • rxs837
  • rxs837's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 7 months ago #187954 by rxs837
Using version 3.0

I have change the background color us the survey to a dark turquoise there is also a background image for the survey using the same color. All questions are using a the color white for the font. If a user tries to skip a mandatory question the modal error box pop-ups up with a white background which makes the error invisible. How can I change the background color or the font color in the modal window only?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 7 months ago #187958 by tpartner
That depends on how specific the CSS rule for color: white is but something like this at the end of your custom.css file should work:

Code:
.modal-dialog .modal-content .modal-body {
  color: #444444;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • rxs837
  • rxs837's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 7 months ago #187962 by rxs837
Thank you for the response. I assuming you telling me to change the custom.css in the theme I am using. Is there a way I can do this just in the survey using Theme Options?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 7 months ago #187964 by tpartner
Not as far as I know.

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: rxs837
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose