Welcome, Guest
Username: Password:

TOPIC: can i batch modify the question font size in LSS file?

can i batch modify the question font size in LSS file? 2 years 6 months ago #100672

  • limesun
  • limesun's Avatar
i am not sure whether the font size,color info record in LSS file.
The administrator has disabled public write access.

can i batch modify the question font size in LSS file? 2 years 6 months ago #100681

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 4736
  • Thank you received: 689
  • Karma: 209
No, all the layout information is stored in the template files...
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

can i batch modify the question font size in LSS file? 2 years 6 months ago #100684

  • limesun
  • limesun's Avatar
if i changed the question text font size to 14px, this info is recorded in template file??
The administrator has disabled public write access.

can i batch modify the question font size in LSS file? 2 years 6 months ago #100690

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1678
  • Thank you received: 418
  • Karma: 106
No; all the code added directly into your survey content (html, inline styles,JavaScript snippets) belongs only to this survey, and for that will be included into your survey export files like .lss file, .lsa survey archive, questions and groups exports, etc.
Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => bit.ly/20NW9V8 (already included in /docs/demosurveys)
The administrator has disabled public write access.

can i batch modify the question font size in LSS file? 2 years 6 months ago #100726

  • limesun
  • limesun's Avatar
i set the questiont text "14px, red".but didn't find "14px" info in LSS file.
The administrator has disabled public write access.

can i batch modify the question font size in LSS file? 2 years 6 months ago #100777

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1678
  • Thank you received: 418
  • Karma: 106
look around your question text in the .lss file; you may find something like:
<question><![CDATA[<span style="font-size: medium; "><span style="color: rgb(255, 0, 0); ">My question text</span></span>]]></question>
Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => bit.ly/20NW9V8 (already included in /docs/demosurveys)
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.234 seconds