Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Template issue - Multiple choice with comments

Template issue - Multiple choice with comments 9 months 2 weeks ago #104477

  • zn0610
  • zn0610's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
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.

Templateissue-Multiplechoicewithcomments.jpg


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
Last Edit: 9 months 2 weeks ago by zn0610.
The administrator has disabled public write access.

Template issue - Multiple choice with comments 9 months 2 weeks ago #104499

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4354
  • Thank you received: 825
  • Karma: 380
It looks like you are using a copy of the basic template.

Add this to the end of template.css:
.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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 9 months 2 weeks ago by tpartner.
The administrator has disabled public write access.

Template issue - Multiple choice with comments 9 months 2 weeks ago #104703

  • zn0610
  • zn0610's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
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.

dadada.jpg


Do you know why this happaned?

Thanks

Jerry
The administrator has disabled public write access.

Template issue - Multiple choice with comments 9 months 1 week ago #104800

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4354
  • Thank you received: 825
  • Karma: 380
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Template issue - Multiple choice with comments 9 months 4 days ago #105116

  • zn0610
  • zn0610's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Hi Tpartner

Sorry for my late responds.

Please find test link below:
[removed]

I change it to default tamplate.

Thanks

Jerry
Last Edit: 3 months 2 weeks ago by DenisChenu.
The administrator has disabled public write access.

Template issue - Multiple choice with comments 9 months 3 days ago #105134

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4354
  • Thank you received: 825
  • Karma: 380
Try this:

.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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Template issue - Multiple choice with comments 9 months 3 days ago #105146

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6545
  • Thank you received: 867
  • Karma: 257
Hi Tony ,
What do you think of
.multiple-opt-comments .subquestions-list .option {
    width: 50%;
}
Last Edit: 9 months 3 days ago by DenisChenu.
The administrator has disabled public write access.

Template issue - Multiple choice with comments 9 months 3 days ago #105154

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4354
  • Thank you received: 825
  • Karma: 380
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Template issue - Multiple choice with comments 9 months 2 days ago #105178

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6545
  • Thank you received: 867
  • Karma: 257
A quick test with FireBug seems OK, but maybe more because ul are already large. (and with FF).
The administrator has disabled public write access.

Template issue - Multiple choice with comments 3 months 3 weeks ago #111133

  • johnvc
  • johnvc's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
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]
Attachments:
Last Edit: 3 months 2 weeks ago by DenisChenu.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.193 seconds
Donation Image