- Posts: 7
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Template issue - Multiple choice with comments
- zn0610
- Topic Author
- Offline
- New Member
Less
More
10 years 1 month ago - 10 years 1 month ago #104477
by zn0610
Template issue - Multiple choice with comments was created by zn0610
Dears
I met a template issue only occuered at qestion type(Multiple choice with comments)
The checked box and subqusetions are not at same line, I changed to other templates and same.
Please below with reference.
If I made some mistake when I changed template? But all tempalte are same.
Do you know how to fix it to same line?
Thanks
I met a template issue only occuered at qestion type(Multiple choice with comments)
The checked box and subqusetions are not at same line, I changed to other templates and same.
Please below with reference.
If I made some mistake when I changed template? But all tempalte are same.
Do you know how to fix it to same line?
Thanks
Attachments:
Last edit: 10 years 1 month ago by zn0610.
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10633
- Thank you received: 3697
10 years 1 month ago - 10 years 1 month ago #104499
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 Template issue - Multiple choice with comments
It looks like you are using a copy of the basic template.
Add this to the end of template.css:
.
Add this to the end of template.css:
Code:
.multiple-opt-comments ul.subquestions-list { width: 100%; }
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 10 years 1 month ago by tpartner.
The topic has been locked.
- zn0610
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
10 years 1 month ago #104703
by zn0610
Replied by zn0610 on topic Template issue - Multiple choice with comments
Hi Tpartner
Thanks for your helps.
It still doesn't work even I changed template to default.
Also I crewated a new local website for testing by Xampp.
It still have same issue...both IE and Google Chrome, I have no idea...
I view source and found there are too many space and enter as below pic.
Do you know why this happaned?
Thanks
Jerry
Thanks for your helps.
It still doesn't work even I changed template to default.
Also I crewated a new local website for testing by Xampp.
It still have same issue...both IE and Google Chrome, I have no idea...
I view source and found there are too many space and enter as below pic.
Do you know why this happaned?
Thanks
Jerry
Attachments:
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10633
- Thank you received: 3697
10 years 1 month ago #104800
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 Template issue - Multiple choice with comments
Can you activate a test survey?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- zn0610
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
10 years 1 month ago - 9 years 7 months ago #105116
by zn0610
Replied by zn0610 on topic Template issue - Multiple choice with comments
Hi Tpartner
Sorry for my late responds.
Please find test link below:
[removed]
I change it to default tamplate.
Thanks
Jerry
Sorry for my late responds.
Please find test link below:
[removed]
I change it to default tamplate.
Thanks
Jerry
Last edit: 9 years 7 months ago by DenisChenu.
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10633
- Thank you received: 3697
10 years 1 month ago #105134
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 Template issue - Multiple choice with comments
Try this:
.
Code:
.multiple-opt-comments ul.subquestions-list { width: 100%; } .multiple-opt-comments ul.subquestions-list label.answertext { width: auto; }
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
10 years 1 month ago - 10 years 1 month ago #105146
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 Template issue - Multiple choice with comments
Hi Tony ,
What do you think of
What do you think of
Code:
.multiple-opt-comments .subquestions-list .option { width: 50%; }
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.
Last edit: 10 years 1 month ago by DenisChenu.
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10633
- Thank you received: 3697
10 years 1 month ago #105154
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 Template issue - Multiple choice with comments
That would push the first <span> element out to 50% of its parent (the <li>), but I think the <ul> needs to be pushed out to 100% before manipulating any of its children. The <ul> does not default to 100% because of "display:table;".
.
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
10 years 1 month ago #105178
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 Template issue - Multiple choice with comments
A quick test with FireBug seems OK, but maybe more because ul are already large. (and with FF).
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.
- johnvc
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
9 years 8 months ago - 9 years 7 months ago #111133
by johnvc
Replied by johnvc on topic Template issue - Multiple choice with comments
Hello
I am encountering this same problem above. "The checked box and subqusetions are not at same line".
I have tried the 3 solutions posted.
1) Add this to the end of template.css:
.multiple-opt-comments ul.subquestions-list {
width: 100%;
}
2) .multiple-opt-comments ul.subquestions-list {
width: 100%;
}
.multiple-opt-comments ul.subquestions-list label.answertext {
width: auto;
}
3) .multiple-opt-comments .subquestions-list .option {
width: 50%;
}
None are working.
Is there a solution for this?
Edit: More details, the 1st question displays correctly, the subsequent question displays incorrectly!
Thanks..
my link : [removed]
I am encountering this same problem above. "The checked box and subqusetions are not at same line".
I have tried the 3 solutions posted.
1) Add this to the end of template.css:
.multiple-opt-comments ul.subquestions-list {
width: 100%;
}
2) .multiple-opt-comments ul.subquestions-list {
width: 100%;
}
.multiple-opt-comments ul.subquestions-list label.answertext {
width: auto;
}
3) .multiple-opt-comments .subquestions-list .option {
width: 50%;
}
None are working.
Is there a solution for this?
Edit: More details, the 1st question displays correctly, the subsequent question displays incorrectly!
Thanks..
my link : [removed]
Attachments:
Last edit: 9 years 7 months ago by DenisChenu.
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10633
- Thank you received: 3697
9 years 8 months ago #111147
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 Template issue - Multiple choice with comments
That survey is not accessible.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- johnvc
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
9 years 7 months ago #111303
by johnvc
Replied by johnvc on topic Template issue - Multiple choice with comments
Hello
quick update.
The option:
2) .multiple-opt-comments ul.subquestions-list {
width: 100%;
}
.multiple-opt-comments ul.subquestions-list label.answertext {
width: auto;
}
is in the template.css file.
Some how, overnight, everything works perfectly!
Don't know if it has something to do with cache clearing on the local PC, or the remote host.
Note to site admin, can you please remove the link I provided in my previous comment?
Thanks.
John
quick update.
The option:
2) .multiple-opt-comments ul.subquestions-list {
width: 100%;
}
.multiple-opt-comments ul.subquestions-list label.answertext {
width: auto;
}
is in the template.css file.
Some how, overnight, everything works perfectly!
Don't know if it has something to do with cache clearing on the local PC, or the remote host.
Note to site admin, can you please remove the link I provided in my previous comment?
Thanks.
John
The topic has been locked.