- Posts: 162
- Thank you received: 14
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Likert 7-point Buttons
- teracomp
- Topic Author
- Offline
- Elite Member
Less
More
4 years 11 months ago #182203
by teracomp
Dave Phillips
Likert 7-point Buttons was created by teracomp
I'm building a survey that has a 7-point Likert scoring scheme. I love the new Bootstrap Buttons template, but 7 buttons pose a problem. Bootstrap uses a grid-12 layout which is not divisible by 7.
I definitely want to keep the buttons.
When using the bootstrap_buttons question theme, the code uses col-xs-2 divs for each button.
Do I need to create a complete question template for Likert-7?
Is there a method to create a grid-7 layout?
Thanks
I definitely want to keep the buttons.
When using the bootstrap_buttons question theme, the code uses col-xs-2 divs for each button.
Do I need to create a complete question template for Likert-7?
Is there a method to create a grid-7 layout?
Thanks
Dave Phillips
The topic has been locked.
- teracomp
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 162
- Thank you received: 14
4 years 11 months ago #182207
by teracomp
Dave Phillips
Replied by teracomp on topic Likert 7-point Buttons
Here's my simple solution using css in custom.css and adding a class (likert-seven) to each item:
/*** Likert 7 Support for anything wider than 768px ***/
@media (min-width: 768px) {
.likert-seven .col-sm-2 {
width: 14%;
}
}
Not sure if this is the best plan, but works for this application.
/*** Likert 7 Support for anything wider than 768px ***/
@media (min-width: 768px) {
.likert-seven .col-sm-2 {
width: 14%;
}
}
Not sure if this is the best plan, but works for this application.
Dave Phillips
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
4 years 11 months ago #182220
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 Likert 7-point Buttons
I think have a Questioin Template where you set the WIDTH (in BS column style) of button is a good solution.
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.