Welcome to the LimeSurvey Community Forum

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

Remove lines for array-question.

  • equilibrium_21
  • equilibrium_21's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 10 months ago #229584 by equilibrium_21
Remove lines for array-question. was created by equilibrium_21
Please help us help you and fill where relevant:
Your LimeSurvey version: Version 5.3.19
Own server or LimeSurvey hosting: own
Survey theme/template:
==================
Hello,
I have a design related issue: Is it possible to remove the separating lines in an array-type question (so that it is formatted like a word table with no borders)?
thanks in advance

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #229608 by tpartner
Replied by tpartner on topic Remove lines for array-question.
Survey theme/template?

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.

  • equilibrium_21
  • equilibrium_21's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 10 months ago #229621 by equilibrium_21
Replied by equilibrium_21 on topic Remove lines for array-question.
Hi tpartner,

I'm using the vanilla template

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #229642 by tpartner
Replied by tpartner on topic Remove lines for array-question.
Place something like this in the source of the question:

Code:
<style type="text/css" data-author="Tony Partner">
 
  #question{QID} .table-bordered,
  #question{QID} .table-bordered tr td,
  #question{QID} .table-bordered tr th {
    border: 0 none;
  }
</style>

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.

  • equilibrium_21
  • equilibrium_21's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 10 months ago #229667 by equilibrium_21
Replied by equilibrium_21 on topic Remove lines for array-question.
Thank you, that works great. Is there any way to change this directly in the template? I'm asking because there are lots of array questions in my survey which would make it more efficient to change the design for all of them.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #229689 by tpartner
Replied by tpartner on topic Remove lines for array-question.
Something like this in the theme custom.css file:

Code:
.answer-container .table-bordered,
.answer-container .table-bordered tr td,
.answer-container .table-bordered tr th {
  border: 0 none;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: equilibrium_21

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose