- Posts: 18
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
In-question code to display Bootstrap Buttons vertically
- paul.emmines
- Topic Author
- Offline
- New Member
Less
More
2 years 1 week ago #228081
by paul.emmines
In-question code to display Bootstrap Buttons vertically was created by paul.emmines
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.3.1.1
Own server or LimeSurvey hosting: LS
Survey theme/template: Bootswatch
==================
Is there any way to display Bootstrap buttons vertically with code in the source of the question?
Your LimeSurvey version: 5.3.1.1
Own server or LimeSurvey hosting: LS
Survey theme/template: Bootswatch
==================
Is there any way to display Bootstrap buttons vertically with code in the source of the question?
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13045
- Thank you received: 4014
2 years 1 week ago #228086
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic In-question code to display Bootstrap Buttons vertically
There is a setting how many buttons you display in a row. "Display theme options"
Set it to "1".
In your question you may enter
Joffm
Set it to "1".
In your question you may enter
Code:
<style type="text/css"> .button-item.btn { width:25%; // your desired width } </style>
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10119
- Thank you received: 3598
2 years 1 week ago #228095
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic In-question code to display Bootstrap Buttons vertically
A small tip, in CSS double slashes are not valid for comments.
Code:
/* My comment */
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13045
- Thank you received: 4014
2 years 1 week ago #228100
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic In-question code to display Bootstrap Buttons vertically
Thanks, Tony
I usually know this.
But only "usually".
Sometimes I type faster than I think, Or I type without thinking.
Joffm
I usually know this.
But only "usually".
Sometimes I type faster than I think, Or I type without thinking.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.