Welcome to the LimeSurvey Community Forum

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

Change text style in a question?

  • Serafim
  • Serafim's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
11 years 2 months ago #91187 by Serafim
Change text style in a question? was created by Serafim
Hi there,

I have a single answer question (radio list), that as the words: "choose one of the following answers" (or something similar). For some reason is showing in bold, where can I change this in the .css file?
The topic has been locked.
More
11 years 2 months ago #91188 by helper
Replied by helper on topic Change text style in a question?
Look for .questionhelp in your CSS files.
The topic has been locked.
  • Serafim
  • Serafim's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
11 years 2 months ago #91202 by Serafim
Replied by Serafim on topic Change text style in a question?
Hi there,

and then what? I've found it but there's nothing on it.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 2 months ago #91212 by tpartner
Replied by tpartner on topic Change text style in a question?
What template are you using?

Can you post the contents of your question.pstpl file?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Serafim
  • Serafim's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
11 years 2 months ago #91221 by Serafim
Replied by Serafim on topic Change text style in a question?
I've changed my template, but I think it´s the default one. Witch .pstpl file do you want?

I'll attach the template.
Attachments:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 2 months ago #91222 by tpartner
Replied by tpartner on topic Change text style in a question?
In template.css, at line 211, change this:
Code:
span.questionhelp {
}

To this:
Code:
span.questionhelp {
  font-weight: normal;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Serafim
  • Serafim's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
11 years 2 months ago #91228 by Serafim
Replied by Serafim on topic Change text style in a question?
That's it!!!! I would never find it was in the span.questionhelp. Thanks
The topic has been locked.
  • Serafim
  • Serafim's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
11 years 2 months ago #91248 by Serafim
Replied by Serafim on topic Change text style in a question?
Hi there,

By the way, in a radio list question, the numbers 0 to 10 where do we change the style?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 2 months ago #91250 by tpartner
Replied by tpartner on topic Change text style in a question?
Question type?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Serafim
  • Serafim's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
11 years 2 months ago #91273 by Serafim
Replied by Serafim on topic Change text style in a question?
It´s a 10 point grid.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 2 months ago - 11 years 2 months ago #91316 by tpartner
Replied by tpartner on topic Change text style in a question?
Add something like this to the end of template.css:
Code:
#limesurvey table.question thead th, 
#limesurvey table.question thead td {
  background-color: #FFFFFF;
  color: red;
  font-weight: normal !important;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 11 years 2 months ago by tpartner.
The topic has been locked.
  • Serafim
  • Serafim's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
11 years 2 months ago #91329 by Serafim
Replied by Serafim on topic Change text style in a question?
Do I have to change something in the code? It doesn't do anithing just like that.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose