Welcome, Guest
Username: Password: Remember me

TOPIC: Row spacing in flexible array questions

Row spacing in flexible array questions 3 years 5 months ago #58660

  • RaCMJS
  • RaCMJS's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
I am trying to add padding to the top/bottom of rows in an array question so there is more space between the items. I have tried to add padding to the attributes of the .array-flexible-row class, but this seem to do nothing. I am using the clear_logo template. Any suggestions? The items in my array are rather words and the survey would benefit from having more "space" so reading the items is easier.
The administrator has disabled public write access.

Re: Row spacing in flexible array questions 3 years 5 months ago #58748

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5324
  • Thank you received: 294
  • Karma: 248
Please add a link to a sample survey and list what changes you made to the template.css file of your template.

Also keep in mind to clear your browser cache after having changed the CSS file so that the edited version is loaded and not an outdated version from cache.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Row spacing in flexible array questions 3 years 5 months ago #58764

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4134
  • Thank you received: 766
  • Karma: 347
Add the following to the end of template.css - it will pad the row cells with 5px to the top and bottom:
.array1 td,
.array2 td {
  padding: 5px 0 5px 0;
}
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: Row spacing in flexible array questions 1 year 1 week ago #99177

  • AndyBe
  • AndyBe's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Hi, I have the same problem right now.
But for some reason it doesn't work right.
I add in the last line of the template.css
".array1 td,
.array2 td {
padding: 5px 0 5px 0;
}"
but the spaces between the array row do not change.

I use a copy of the "bluengreen" template and am using the LimeSurvey
Version "2.00+ Build 130611".

Thank you for your help :)
Greetz, Andy
The administrator has disabled public write access.

Re: Row spacing in flexible array questions 1 year 1 week ago #99181

  • AndyBe
  • AndyBe's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Hey for the better understanding of my problem. I made a screenshot and a example survey.

Hope to hear from you soon ;)
With best regards, Andy
Attachments:
The administrator has disabled public write access.

Re: Row spacing in flexible array questions 1 year 1 week ago #99236

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5324
  • Thank you received: 294
  • Karma: 248
Please post a link to an activated sample survey so we can check how this looks like in combination with your template.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.138 seconds
Donation Image