Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Likert 7-point Buttons

  • teracomp
  • teracomp's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
5 years 6 days ago #182203 by teracomp
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

Dave Phillips
The topic has been locked.
  • teracomp
  • teracomp's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
5 years 6 days ago #182207 by teracomp
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.

Dave Phillips
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 5 days ago #182220 by DenisChenu
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.

Lime-years ahead

Online-surveys for every purse and purpose