- Posts: 13907
- Thank you received: 2546
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Center and widen slider in Citronade
- jefzyz
- Topic Author
- Visitor
10 years 8 months ago #97916
by jefzyz
Center and widen slider in Citronade was created by jefzyz
Sorry, I am new to all this.
How to I center my slider and expand it the width of the question without cutting off my text at the 2 ends.
(see picture attached)
(I am not used to template editor so you have to put the answer in simplistic/stepbystep terms for me)
How to I center my slider and expand it the width of the question without cutting off my text at the 2 ends.
(see picture attached)
(I am not used to template editor so you have to put the answer in simplistic/stepbystep terms for me)
Attachments:
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
10 years 8 months ago #97943
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 Center and widen slider in Citronade
OK,
Seems you have empty subquestion.
Try this at end of your template.css file (replacing XX by your question number)
Seems you have empty subquestion.
Try this at end of your template.css file (replacing XX by your question number)
Code:
#questionXX ul.text-list .question-item { display: block; } #questionXX .question-item { text-align:center; }
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.
The topic has been locked.
- jefzyz
- Topic Author
- Visitor
10 years 8 months ago #97966
by jefzyz
Replied by jefzyz on topic Center and widen slider in Citronade
Nothing changed
This is what I did
-I copied the template citronade in template editor
-clicked on template.css, selected Question page from the dropdown menu
-I scrolled the the end of the text and pasted what you wrote
....
....
....
#footer{display:none;}
#index{display:none}
}
/* Print answers */
table.printouttable{width:99%}
/* Expression manager tips */
.hide-tip .good {display: none;}
.hide-tip .error {display: none;}
.input-error .hide-tip .error {display: block;}
.em_other_comment_mandatory.good {display: none;}
.em_regex_validation{display: none;}
.em_regex_validation.error {display: block;}
.em_sum_range{margin:0.5em 0;}
#question03 ul.text-list .question-item {
display: block;
}
#question03 .question-item {
text-align:center;
}
Now my survey has group 1 with 2 array questions. This slider question is in group 2, and is titled question 3.
This is what I did
-I copied the template citronade in template editor
-clicked on template.css, selected Question page from the dropdown menu
-I scrolled the the end of the text and pasted what you wrote
....
....
....
#footer{display:none;}
#index{display:none}
}
/* Print answers */
table.printouttable{width:99%}
/* Expression manager tips */
.hide-tip .good {display: none;}
.hide-tip .error {display: none;}
.input-error .hide-tip .error {display: block;}
.em_other_comment_mandatory.good {display: none;}
.em_regex_validation{display: none;}
.em_regex_validation.error {display: block;}
.em_sum_range{margin:0.5em 0;}
#question03 ul.text-list .question-item {
display: block;
}
#question03 .question-item {
text-align:center;
}
Now my survey has group 1 with 2 array questions. This slider question is in group 2, and is titled question 3.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
10 years 8 months ago #97972
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 Center and widen slider in Citronade
Try #question3 and not #question03 : it's the question internal identifier : not the code you put for this question.
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.
The topic has been locked.
- jefzyz
- Topic Author
- Visitor
10 years 8 months ago #97976
by jefzyz
Replied by jefzyz on topic Center and widen slider in Citronade
I pasted this to the end, still have that giant space before the slider
#question3 ul.text-list .question-item {display: block;}
#question3 .question-item {text-align:center;}
Should I be pasting it into the end of all that text, or under a specific section?
I managed to widen the slider, but it is not centered still. (due to the empty subquestion)
#question3 ul.text-list .question-item {display: block;}
#question3 .question-item {text-align:center;}
Should I be pasting it into the end of all that text, or under a specific section?
I managed to widen the slider, but it is not centered still. (due to the empty subquestion)
The topic has been locked.