- Posts: 7
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Add period after every question number
- Gloria01
- Topic Author
- Offline
- New Member
Less
More
9 years 10 months ago - 9 years 10 months ago #108286
by Gloria01
Add period after every question number was created by Gloria01
I would like to add a period after every question number.
Last edit: 9 years 10 months ago by Gloria01.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
9 years 10 months ago #108288
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Add period after every question number
You probably would need to adapt your template to achieve this.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- Gloria01
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
9 years 10 months ago #108289
by Gloria01
Replied by Gloria01 on topic Add period after every question number
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 */
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 topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
9 years 10 months ago #108293
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Add period after every question number
I think this will not be something that you can do via CSS, but only directly in the template files themselves, via text/html.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: Gloria01
The topic has been locked.
- Gloria01
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
9 years 10 months ago #108301
by Gloria01
Replied by Gloria01 on topic Add period after every question number
Could you please guide me how to do it?
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
9 years 10 months ago #108302
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Add period after every question number
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.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
9 years 10 months ago - 9 years 10 months ago #108320
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Add period after every question number
Hi,
in question.pstpl, replace:
by
in question.pstpl, replace:
Code:
{QUESTION_NUMBER}
Code:
{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 , plugin development .
I don't answer to private message.
Last edit: 9 years 10 months ago by DenisChenu.
The following user(s) said Thank You: Gloria01
The topic has been locked.
- Gloria01
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
9 years 10 months ago #108348
by Gloria01
Replied by Gloria01 on topic Add period after every question number
Thank you!
The topic has been locked.
- Saleopll_85598
- Offline
- Banned
Less
More
- Posts: 2
- Thank you received: 0
7 years 2 weeks ago #149505
by Saleopll_85598
Replied by Saleopll_85598 on topic Add period after every question number
Hi. May I know how to add the period in LimeSurvey 2.63?
I'm using the default template and there is no question.pstpl exist.
Thanks in advance for your help.
I'm using the default template and there is no question.pstpl exist.
Thanks in advance for your help.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
7 years 2 weeks ago - 7 years 2 weeks ago #149507
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Add period after every question number
Of course there is a question.pstpl in 2.6x.
You just have to look at the right place. On the top right in the template editor, you can choose the template that you want to edit. Keep in mind that the shipped templates can not be changed, you first need to copy one of them to be able to change anything.
Once you picked the template, you need to choose the screen right next to it. Once you choose the question screen, you will also see the question.pstpl.
You just have to look at the right place. On the top right in the template editor, you can choose the template that you want to edit. Keep in mind that the shipped templates can not be changed, you first need to copy one of them to be able to change anything.
Once you picked the template, you need to choose the screen right next to it. Once you choose the question screen, you will also see the question.pstpl.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Attachments:
Last edit: 7 years 2 weeks ago by holch.
The topic has been locked.
- Saleopll_85598
- Offline
- Banned
Less
More
- Posts: 2
- Thank you received: 0
7 years 2 weeks ago #149511
by Saleopll_85598
Replied by Saleopll_85598 on topic Add period after every question number
Attachments:
The topic has been locked.
- elissa
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 195
- Thank you received: 70
7 years 2 weeks ago #149512
by elissa
As holch wrote you have to choose the screen - the dropdown list right to list of templates.
Cheers
Elzbieta Lesinska
LS voluntary Polish translator and supervisor
Replied by elissa on topic Add period after every question number
holch wrote: Once you picked the template, you need to choose the screen right next to it. Once you choose the question screen, you will also see the question.pstpl.
As holch wrote you have to choose the screen - the dropdown list right to list of templates.
Cheers
Elzbieta Lesinska
LS voluntary Polish translator and supervisor
The topic has been locked.