Welcome to the LimeSurvey Community Forum

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

Multi-choice Question - Change Bootstrap Buttons (v3.x)

  • workloopteam
  • workloopteam's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #175114 by workloopteam
Hi Team,

I'm trying to adjust the bootstrap buttons in a multi-choice question. Would like to adjust so that the buttons are presented vertically down the page rather than the horizontal default (as shown in the attached image).

Thanks in advance.



P.S.Have tried various .css options and also including set columns to "1" in the questions display columns but unfortunately it doesn't work.
Attachments:
The topic has been locked.
  • workloopteam
  • workloopteam's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #175165 by workloopteam
Solved! Refer to the attached image.

Enter the following into custom.css

/* Display bootstrap answer buttons vertically*/

.btn-group .btn-primary {
position: relative;
float: none;
background: rgba(50, 43, 46, 0.4)}

/* Create space between bootstrap answer buttons*/

.btn { margin-bottom: 3px;}
The following user(s) said Thank You: holch
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose