Row spacing in flexible array questions

More
6 years 5 months ago #58660 by RaCMJS
RaCMJS created the topic: Row spacing in flexible array questions
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.

Please Log in to join the conversation.

More
6 years 5 months ago #58748 by Mazi
Mazi replied the 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
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
6 years 5 months ago #58764 by tpartner
tpartner replied the 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:
.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.

Please Log in to join the conversation.

More
4 years 4 weeks ago #99177 by TrierAmbulanz
TrierAmbulanz replied the 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

Please Log in to join the conversation.

More
4 years 4 weeks ago #99181 by TrierAmbulanz
TrierAmbulanz replied the 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
Attachments:

Please Log in to join the conversation.

More
4 years 4 weeks ago #99236 by Mazi
Mazi replied the 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
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now