Welcome to the LimeSurvey Community Forum

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

Problems with borders in an array 5-point question

  • andreza
  • andreza's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 8 months ago #138003 by andreza
Hi, i want to know how put borders in top of the subquestions in an array of 5-point choice.
Attachments:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago - 7 years 8 months ago #138025 by tpartner
We cannot answer that without knowing what LimeSurvey version and template you are using. Can you activate a sample survey and give a link here so we can see the source code?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 7 years 8 months ago by tpartner.
The topic has been locked.
  • andreza
  • andreza's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 8 months ago #138056 by andreza
I am using the default template.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago #138057 by tpartner
That doesn't look like the default template. I ask again, what LimeSurvey version and can you activate a sample survey and give a link here so we can see the source code?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • andreza
  • andreza's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 8 months ago #138164 by andreza
This is the template.
Attachments:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago #138165 by tpartner
That's not a template, it's a JavaScript file. I'm sorry but I cannot help.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • andreza
  • andreza's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 8 months ago #138166 by andreza
I send this because the changes are made in this code.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago #138173 by Joffm
Hi, andreza,
as I see in your screenshot there is missing only the bottom border of the radios in the gray rows.
I assume you use a 5-point matrix.
This you can add easily if you really use the default template.

In the template.css just add:
.array2 td {
border-bottom:1px solid #0ff; // or whatever color you like
}

Have a nice day
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • andreza
  • andreza's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 8 months ago #138174 by andreza
It didn't work :dry:
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago #138182 by Joffm
Well,
it works in LS 2.06,
In LS 2.50 you have to add "! important".
.array2 td {
border-bottom: 1px solid red !important;
}
As you already had the other desired borders this only adds the bootom border of the gray radio cells.

Please see screenshot, LS 2.5, template "default"

Otherwise I only can advise to look for the class that affects the look and feel of this radio cell (Firebug or - in Chrome - the Development tools) and adjust this class the way you like.

As Tony mentioned:
Without knowing neither your LS Version nor the template and without having a sample survey (*.lss) it's a bit difficult to help.

All the best
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago #138186 by holch
i just don't get why people refuse to respond to the questions from people who want to help. How hard can it be to say I use version 2.5 or 2.06 and the template is "xxx"?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago #138202 by tpartner
Further to holch's comment - if we ask for a link to a test survey (not a survey export), why the reluctance to provide it? The easiest way for us to solve style issues is to see live source code.

Please keep in mind that we are volunteers donating our time so should not have to repeatedly ask for something in order to help.

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: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose