Welcome to the LimeSurvey Community Forum

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

How to change to font size of Array(numbers)

  • mrli999
  • mrli999's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 1 week ago #134119 by mrli999
As you can see from the following image, the font size of sub-questions are smaller than the question. I hope to change the size of sub questions. What should I do?

The following user(s) said Thank You: Newrana
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 1 week ago #134139 by tpartner
Replied by tpartner on topic How to change to font size of Array(numbers)
Can you activate a test survey and give use a link so we can see the associated CSS?

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: mrli999
The topic has been locked.
  • mrli999
  • mrli999's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 1 week ago #134146 by mrli999
Replied by mrli999 on topic How to change to font size of Array(numbers)

tpartner wrote: Can you activate a test survey and give use a link so we can see the associated CSS?


Here is the link: www.obhrm.com/survey/index.php?r=survey/...=951572&lang=zh-Hans
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 1 week ago #134149 by tpartner
Replied by tpartner on topic How to change to font size of Array(numbers)
Add this to the end of template.css (and clear your cache before testing):

Code:
table.question th.answertext {
  font-size: 14px;
}

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: mrli999
The topic has been locked.
  • mrli999
  • mrli999's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 1 week ago - 8 years 1 week ago #134157 by mrli999
Replied by mrli999 on topic How to change to font size of Array(numbers)

tpartner wrote: Add this to the end of template.css (and clear your cache before testing):

Code:
table.question th.answertext {
  font-size: 14px;
}


Thank you very much! Another question:

www.obhrm.com/survey/index.php?r=survey/...=951572&lang=zh-Hans

A three question survey. The css work for question 11 (the third question), not question 10 (the second question). Would you please let me know how to solve this problem?
Last edit: 8 years 1 week ago by mrli999.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 1 week ago #134159 by tpartner
Replied by tpartner on topic How to change to font size of Array(numbers)
Sorry, I don't have the time to go through a complete survey where I can't read the text. I suggest using Firebug for Firefox.

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: mrli999
The topic has been locked.
  • mrli999
  • mrli999's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 1 week ago - 8 years 1 week ago #134161 by mrli999
Replied by mrli999 on topic How to change to font size of Array(numbers)

tpartner wrote: Sorry, I don't have the time to go through a complete survey where I can't read the text. I suggest using Firebug for Firefox.


There are only 3 questions. The first one is the dual-column question, the second one and the third one are both list (radio), but the CSS work well for the third one, but doesn't work for the second one.

I change the text to English, thanks.
Last edit: 8 years 1 week ago by mrli999.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 1 week ago - 8 years 1 week ago #134170 by tpartner
Replied by tpartner on topic How to change to font size of Array(numbers)
Sorry, I still have no clue how to navigate through the survey. Please activate a single-question survey.


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
Last edit: 8 years 1 week ago by tpartner.
The following user(s) said Thank You: mrli999
The topic has been locked.
  • mrli999
  • mrli999's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 1 week ago - 8 years 1 week ago #134171 by mrli999
Replied by mrli999 on topic How to change to font size of Array(numbers)

tpartner wrote: Sorry, I still have no clue how to navigate through the survey. Please activate a single-question survey.


I tested it. It works now.

But CSS still doesn't work for the second question.
Last edit: 8 years 1 week ago by mrli999.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 1 week ago #134172 by tpartner
Replied by tpartner on topic How to change to font size of Array(numbers)
I see all of the question and answer text at a size of 14px.

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: mrli999
The topic has been locked.
  • mrli999
  • mrli999's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 1 week ago #134173 by mrli999
Replied by mrli999 on topic How to change to font size of Array(numbers)
Both Question 2 and 3 use list (radio). However, the CSS doen's work for question 2. It work well for question 3. You can see the following image. thanks.


The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 1 week ago #134178 by tpartner
Replied by tpartner on topic How to change to font size of Array(numbers)
That's because, in the question settings, you have applied columns to Q3 but not to Q2. I would also get rid of "display: inline;" at line 1605 of template.css.

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

Lime-years ahead

Online-surveys for every purse and purpose