Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Type "O" layout problem

Type "O" layout problem 5 years 2 months ago #62707

  • junkbox
  • junkbox's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
I'm trying to find the html output code for the default Question type "O" (List with Comment) I want to list the list options above the Comment field, like so:

O option1
O option2
Please enter your comment here:
[Text Area]

I'm not familiar with the core files of LimeSurvey just yet, so could anyone point me in the right direction for styling this question type. I see where I can adjust the style of the question type in the CSS, but this looks like it's an HTML issue. I mean in firebug simply moving the closing </div> tag to below the text area works great, I just don't know where to change that in the core files.

Thanks!

Also, I redid the admin icons and am spiffing up the admin skin quite a bit, just a bit of modernization as many of my surveys will be entered manually and I want to improve the UI a bit for the data entry guys. See attached.
I'll release the icons and the css changes when I finish it up here in the next couple weeks.

Last Edit: 5 years 2 months ago by junkbox. Reason: The image quality was pretty bad on the attachemnt for whatever reason, I upped it to my server.
The administrator has disabled public write access.

Type "O" layout problem 5 years 2 months ago #62723

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9346
  • Thank you received: 1338
  • Karma: 386
In template.css , trye:
.list-with-comment div.list {
    float: none;
    width: 100%;
}
.list-with-comment p.comment {
    float: none;
    width: 100%;
}

Maybe there are some modification more, but we need to know your template more.

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Type "O" layout problem 5 years 2 months ago #62765

  • junkbox
  • junkbox's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
thanks, that worked fine. I'm using a modded Citronade
Last Edit: 5 years 2 months ago by junkbox.
The administrator has disabled public write access.

Type "O" layout problem 5 years 2 months ago #62767

  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 6308
  • Thank you received: 1407
  • Karma: 546
Well Shnoulle should know - he developed that template :cheer:
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Type "O" layout problem 5 years 2 months ago #62768

  • junkbox
  • junkbox's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
lol... well there ya go.
The administrator has disabled public write access.

Type "O" layout problem 5 years 2 months ago #62770

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9346
  • Thank you received: 1338
  • Karma: 386
Yep,

And have to update for quick links and some IE6/IE7 bug.

In citronade
.list-with-comment div.list {
    float: left;
    width: 47%;
}
.list-with-comment p.comment {
    float: left;
    width: 47%;
}

Then in your template.css you remove the rule at end.

In css: last rule remove first rule :).

No need to adapt the html code (in general).
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
Last Edit: 5 years 2 months ago by DenisChenu.
The administrator has disabled public write access.
Time to create page: 0.406 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form