Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Row spacing in flexible array questions

  • RaCMJS
  • RaCMJS's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 11 months ago #58660 by RaCMJS
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 topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
12 years 11 months ago #58748 by Mazi
Replied by Mazi on topic Row spacing in flexible array questions
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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 11 months ago #58764 by tpartner
Replied by tpartner on topic Row spacing in flexible array questions
Add the following to the end of template.css - it will pad the row cells with 5px to the top and bottom:
Code:
.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.
The topic has been locked.
More
10 years 6 months ago #99177 by TrierAmbulanz
Replied by TrierAmbulanz on topic Row spacing in flexible array questions
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 topic has been locked.
More
10 years 6 months ago #99181 by TrierAmbulanz
Replied by TrierAmbulanz on topic Row spacing in flexible array questions
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
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
10 years 6 months ago #99236 by Mazi
Replied by Mazi on topic Row spacing in flexible array questions
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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose