- Posts: 16
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How can I align in the center the type questions yes/not?
- Cjonath
- Topic Author
- Offline
- New Member
Less
More
3 years 2 months ago #212026
by Cjonath
How can I align in the center the type questions yes/not? was created by Cjonath
Hi everybody!
How can I align in the center the type questions yes/not?
I'm editing my thema by extend function.
I tried this code of an old question from here, but it doesn't work.
#question{11774}.answers-list {
text-align: center;
}
#question{11774}.answers-list > div {
display: inline-block;
float: none;
}
Thank since now
How can I align in the center the type questions yes/not?
I'm editing my thema by extend function.
I tried this code of an old question from here, but it doesn't work.
#question{11774}.answers-list {
text-align: center;
}
#question{11774}.answers-list > div {
display: inline-block;
float: none;
}
Thank since now
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10116
- Thank you received: 3597
3 years 2 months ago #212031
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 How can I align in the center the type questions yes/not?
Add this to the custom.css file in your extended theme:
Code:
.yes-no .answers-list { text-align: center; } .yes-no .answers-list > div { display: inline-block; float: none; }
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Cjonath
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 years 2 months ago #212043
by Cjonath
Replied by Cjonath on topic How can I align in the center the type questions yes/not?
The topic has been locked.
- Cjonath
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 years 2 months ago #212051
by Cjonath
Replied by Cjonath on topic How can I align in the center the type questions yes/not?
I tried with the code bellow and also it doesn't work
.button-list .button-item {
text-align: center;
}
.button-list .button-item > div {
display: inline-block;
float: none;
}
.button-list .button-item {
text-align: center;
}
.button-list .button-item > div {
display: inline-block;
float: none;
}
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10116
- Thank you received: 3597
3 years 2 months ago #212072
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 How can I align in the center the type questions yes/not?
You did not mention that you are using the button layout. That would have saved me some wasted time.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10116
- Thank you received: 3597
3 years 2 months ago #212073
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 How can I align in the center the type questions yes/not?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: Cjonath
The topic has been locked.