Welcome to the LimeSurvey Community Forum

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

Change font of internal LimeSurvey messages

  • maxersloan
  • maxersloan's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 8 months ago #132553 by maxersloan
I hope I am not duplicating a question already on the forum and/or manual, but I searched for hours and I haven't found anything on this....

I am trying to change the font color of the internal LimeSurvey messages (e.g. "This is a controlled survey. You need a valid token to participate." etc etc). However, I don't see how and where I can make that change in the template.css file. I assume I need something like .tokenmessage font color: #fff ;

Can anyone point me in the right direction? I'm sure it has to be easy.....
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #132556 by tpartner
Replied by tpartner on topic Change font of internal LimeSurvey messages
You were close with your selector. Actually it's p#tokenmessage.

Code:
p#tokenmessage {
    color: red;
}

You can use a tool like Firebug for Firefox to explore the elements.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • maxersloan
  • maxersloan's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 8 months ago #132595 by maxersloan
Replied by maxersloan on topic Change font of internal LimeSurvey messages
Thank you! This worked for everything except for the "Token:" message (the one beside the text box where you enter your token). Is there a separate selector for that? I tried token and tokenform with no luck....
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #132608 by tpartner
Replied by tpartner on topic Change font of internal LimeSurvey messages
Try:

Code:
#tokenform label {
    color: purple;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • maxersloan
  • maxersloan's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 8 months ago #132610 by maxersloan
Replied by maxersloan on topic Change font of internal LimeSurvey messages
Thank you!!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #132611 by tpartner
Replied by tpartner on topic Change font of internal LimeSurvey messages
Well, maybe not purple :)

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • delarammahdaviii
  • delarammahdaviii's Avatar
  • Offline
  • Senior Member
  • Senior Member
More
8 years 8 months ago #132700 by delarammahdaviii
Replied by delarammahdaviii on topic Change font of internal LimeSurvey messages
im so sorry , where i write ?
Code:
#tokenform label {
    color: purple;} 
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #132704 by tpartner
Replied by tpartner on topic Change font of internal LimeSurvey messages

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: delarammahdaviii
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose