Welcome, Guest
Username: Password:

TOPIC: Change text style in a question?

Change text style in a question? 3 years 3 months ago #91187

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
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 administrator has disabled public write access.

Change text style in a question? 3 years 3 months ago #91188

  • helper
  • helper's Avatar
  • Offline
  • Expert Lime
  • Posts: 126
  • Thank you received: 18
  • Karma: 0
Look for .questionhelp in your CSS files.
The administrator has disabled public write access.

Change text style in a question? 3 years 3 months ago #91202

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
Hi there,

and then what? I've found it but there's nothing on it.
The administrator has disabled public write access.

Change text style in a question? 3 years 3 months ago #91212

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5759
  • Thank you received: 1250
  • Karma: 512
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 administrator has disabled public write access.

Change text style in a question? 3 years 3 months ago #91221

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
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 administrator has disabled public write access.

Change text style in a question? 3 years 3 months ago #91222

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5759
  • Thank you received: 1250
  • Karma: 512
In template.css, at line 211, change this:
span.questionhelp {
}

To this:
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 administrator has disabled public write access.

Change text style in a question? 3 years 3 months ago #91228

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
That's it!!!! I would never find it was in the span.questionhelp. Thanks
The administrator has disabled public write access.

Change text style in a question? 3 years 3 months ago #91248

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
Hi there,

By the way, in a radio list question, the numbers 0 to 10 where do we change the style?
The administrator has disabled public write access.

Change text style in a question? 3 years 3 months ago #91250

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5759
  • Thank you received: 1250
  • Karma: 512
Question type?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Change text style in a question? 3 years 3 months ago #91273

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
It´s a 10 point grid.
The administrator has disabled public write access.

Change text style in a question? 3 years 3 months ago #91316

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5759
  • Thank you received: 1250
  • Karma: 512
Add something like this to the end of template.css:
#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: 3 years 3 months ago by tpartner.
The administrator has disabled public write access.

Change text style in a question? 3 years 3 months ago #91329

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
Do I have to change something in the code? It doesn't do anithing just like that.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.324 seconds