Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Add period after every question number

Add period after every question number 2 years 7 months ago #108286

  • Gloria01
  • Gloria01's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
I would like to add a period after every question number.
Last Edit: 2 years 7 months ago by Gloria01.
The administrator has disabled public write access.

Add period after every question number 2 years 7 months ago #108288

  • holch
  • holch's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 5443
  • Thank you received: 813
  • Karma: 240
You probably would need to adapt your template to achieve this.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.

Add period after every question number 2 years 7 months ago #108289

  • Gloria01
  • Gloria01's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
Thanks for your help.
Please help me with what code should I add to template.css file to make the change?

* Basic formatting for the four keyparts of an question */

span.questionhelp {
}

.showqnumcode-X .qnumcode {
display:none;
}
span.qnumcode {
font-style:italic;
}

td.questiontext {
font-family: verdana;
font-size: 12px;
font-weight: bold;
background-color: #EEF6FF;
text-align: left;
padding: 0.5em 1em;
}

.page-odd td.questiontext {
background-color: #EFFFEE;
}

.navigator-table {
background-color: #EEF6FF;
text-align: center;
width: 100%;
}

.page-odd .navigator-table {
background-color: #EFFFEE;
}

td.page-title {
text-align: center;
background-color: #EEF6FF;
}

.page-odd td.page-title {
background-color: #EFFFEE;
}

table.question-group {
width: 100%;
text-align: center;
background-color: #d2e0f2;
border: 0;
border-collapse:collapse;
border-color: #111111;
}

.page-odd table.question-group {
background-color: #D2F2D3;
}

td.answer {
padding: 0.5em 1.5em;
}

td.survey-question-help {
font-size: 10px;
background-color: #EEF6FF;
padding-left: 1em;
}

.page-odd td.survey-question-help {
background-color: #EFFFEE;
}

td.survey-question-help img {
margin: 4px 4px 4px 0;
padding-right: 5px;
vertical-align: middle;
}

/* End formatting for the four keyparts of an question */
The administrator has disabled public write access.

Add period after every question number 2 years 7 months ago #108293

  • holch
  • holch's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 5443
  • Thank you received: 813
  • Karma: 240
I think this will not be something that you can do via CSS, but only directly in the template files themselves, via text/html.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.
The following user(s) said Thank You: Gloria01

Add period after every question number 2 years 7 months ago #108301

  • Gloria01
  • Gloria01's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
Could you please guide me how to do it?
The administrator has disabled public write access.

Add period after every question number 2 years 7 months ago #108302

  • holch
  • holch's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 5443
  • Thank you received: 813
  • Karma: 240
Well, this depends very much on the template and I am not even sure if it is possible at all. I just know that if it is possible, then most probably via the template. Would have to look into the code. But most important for this is to know which template you are using.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.

Add period after every question number 2 years 7 months ago #108320

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9586
  • Thank you received: 1375
  • Karma: 390
Hi,

in question.pstpl, replace:
{QUESTION_NUMBER}
by
{QUESTION_NUMBER},
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
Last Edit: 2 years 7 months ago by DenisChenu.
The administrator has disabled public write access.
The following user(s) said Thank You: Gloria01

Add period after every question number 2 years 7 months ago #108348

  • Gloria01
  • Gloria01's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
Thank you!
The administrator has disabled public write access.
Time to create page: 0.270 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form