- Posts: 6
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Remove two columns from dual matrix question
- markheckmann
- Topic Author
- Offline
- New Member
Less
More
2 years 9 months ago #218438
by markheckmann
Remove two columns from dual matrix question was created by markheckmann
Hi all,
I have a dual matrix question with additional vertical lines for visual separation (see image below, see also code which I copy and pasted from somewhere to get the vertical lines). With the additional vertical lines, the columns separating the different parts of the question are no longer necessary and I would like to remove them (marked in yellow). My CSS skills are not sufficient to do this. Any helps would be appreciated
Best wishes
Mark
CSS:
td.noanswer-item, th.noanswer-text, th.header_no_answer, td.header_separator {
border-left: 3px solid #777 !important;
}
td.rigth_separator {
border-left: inherit !important;
}
.header_row td:nth-of-type(4) {
border-left: inherit !important;
}
I have a dual matrix question with additional vertical lines for visual separation (see image below, see also code which I copy and pasted from somewhere to get the vertical lines). With the additional vertical lines, the columns separating the different parts of the question are no longer necessary and I would like to remove them (marked in yellow). My CSS skills are not sufficient to do this. Any helps would be appreciated
Best wishes
Mark
CSS:
td.noanswer-item, th.noanswer-text, th.header_no_answer, td.header_separator {
border-left: 3px solid #777 !important;
}
td.rigth_separator {
border-left: inherit !important;
}
.header_row td:nth-of-type(4) {
border-left: inherit !important;
}
Attachments:
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 966
- Thank you received: 219
2 years 8 months ago #218463
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic Remove two columns from dual matrix question
What version of LimeSurvey are you using?
What theme are you using?
Please upload an export file of your survey containing only this question, so people that want to help can look at it.
Tammo
What theme are you using?
Please upload an export file of your survey containing only this question, so people that want to help can look at it.
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- markheckmann
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
2 years 8 months ago #218488
by markheckmann
Replied by markheckmann on topic Remove two columns from dual matrix question
Thanks for your response. I work on Limesurvey Version 3.25.17 210309 and use the default "fruity" design. Please find the .lss file attached.Thanks!Mark
Attachments:
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 966
- Thank you received: 219
2 years 8 months ago #218504
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic Remove two columns from dual matrix question
When I load this survey in my installation, it shows like this. Apart from the stange thick line, what is the problem here?
Tammo
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 966
- Thank you received: 219
2 years 8 months ago - 2 years 8 months ago #218505
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic Remove two columns from dual matrix question
By the way: [message for Denis Chenu]: in the attached survey the subquestions are not shown when the plugin "hide empty columns" is active.
Tammo
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Last edit: 2 years 8 months ago by tammo.
The topic has been locked.
- markheckmann
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
2 years 8 months ago - 2 years 8 months ago #218506
by markheckmann
Replied by markheckmann on topic Remove two columns from dual matrix question
Hi,
there is no technical problem per se. But the thick line is intentional. It was meant to replace the empty column on big devices. So the target layout is:
SCALED QUESTION | THICK LINE | SCALED QUESTION
The empty column is not really necessary on big screens / devices and looks ugly. So we prefer a visual separator line instead. Hence, we would like to remove the separator column.
Bests Mark
there is no technical problem per se. But the thick line is intentional. It was meant to replace the empty column on big devices. So the target layout is:
SCALED QUESTION | THICK LINE | SCALED QUESTION
The empty column is not really necessary on big screens / devices and looks ugly. So we prefer a visual separator line instead. Hence, we would like to remove the separator column.
Bests Mark
Last edit: 2 years 8 months ago by markheckmann.
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 966
- Thank you received: 219
2 years 8 months ago #218513
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic Remove two columns from dual matrix question
I see your problem, but it would take some time to solve this, which I cannot find right now. You might look into the twig file that builds the dual array.
Tammo
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 966
- Thank you received: 219
2 years 8 months ago #218515
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic Remove two columns from dual matrix question
Couldn't resist finding it out. Please see the .lss in the attachment. Here it works. But I am unsure how, because when "width: 0 !important;" it works, but not with "width: 3px !important;"
Tammo
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Attachments:
The topic has been locked.