Welcome, Guest
Username: Password: Remember me

TOPIC: Type "O" layout problem

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

  • junkbox
  • junkbox's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • 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: 3 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.

Re: Type "O" layout problem 3 years 2 months ago #62723

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6277
  • Thank you received: 802
  • Karma: 241
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
The administrator has disabled public write access.

Re: Type "O" layout problem 3 years 2 months ago #62765

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

Re: Type "O" layout problem 3 years 2 months ago #62767

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4141
  • Thank you received: 768
  • Karma: 349
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.

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

Re: Type "O" layout problem 3 years 2 months ago #62768

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

Re: Type "O" layout problem 3 years 2 months ago #62770

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6277
  • Thank you received: 802
  • Karma: 241
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).
Last Edit: 3 years 2 months ago by DenisChenu.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.146 seconds
Donation Image