Welcome to the LimeSurvey Community Forum

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

How do I change color of the question hint container...

  • cguest
  • cguest's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 1 month ago #164634 by cguest
Hi,
I'm not sure I'm using the correct terminology. Please forgive me if I'm not.

How can I change the color of the question hint container and the color of the font within it? I've circled the section I am referring to in the attached picture.

Thanks,
CGuest
Attachments:
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 1 month ago #164635 by holch
This depends very much on the template used. Your's is obviously already modified, which makes things more difficult. Every modern browser has developer tools included, that allow you to check the characteristics and attributes of elements of a website. In Chrome for example you can open it with Shift+Control+i

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • cguest
  • cguest's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 1 month ago #164636 by cguest
Sorry... I am customizing the bootswatch template.

Thanks,
CGuest
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 1 month ago #164640 by tpartner
Add something like this to the end of custom.css:

Code:
.question-valid-container {
  background-color: #000000;
}

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: cguest
The topic has been locked.
  • cguest
  • cguest's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 1 month ago #164643 by cguest
I am also trying to change the color font in that same container.
I tried:
.question-valid-container {
font-weight: bold;
color: #0743a9;
background-color: #bb7f0d;
}

This seems to work... but when I hover over the text... it reverts back to the original font. When I move the mouse away... it changes back to the color that I just set it.

Any ideas?

Thanks,
CGuest
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 1 month ago #164646 by tpartner
Code:
.question-valid-container,
.question-valid-container:hover {
  font-weight: bold;
  color: #0743a9;
  background-color: #bb7f0d;
}

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: cguest
The topic has been locked.
  • cguest
  • cguest's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 1 month ago #164647 by cguest
That worked perfectly!
Thank you!

Thanks,
CGuest
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose