Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: How to change RADIO LIST alignment ?

How to change RADIO LIST alignment ? 2 years 5 months ago #105286

  • rmsolar
  • rmsolar's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 9
  • Thank you received: 1
  • Karma: 0
Hi,

I'am using 1 question group containing 5 questions.
The responses type = LIST (radio) without 'no answer' option.
I'am using a copy of bluengrey template.

The problem is that I don't find in the template.CSS of the 'question.page' where to change the radio alignment.

Please see screenshot below on how it should be and how it is now.


The administrator has disabled public write access.

How to change RADIO LIST alignment ? 2 years 5 months ago #105292

  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 6111
  • Thank you received: 1356
  • Karma: 532
To left-align all of the answers, add this to the end of template.css:
div.answers table {
	margin: 0;
	width: 100%;
}

To affect only list-radio questions:
.list-radio div.answers table {
	margin: 0;
	width: 100%;
}


,
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
The following user(s) said Thank You: rmsolar

How to change RADIO LIST alignment ? 2 years 5 months ago #105295

  • rmsolar
  • rmsolar's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 9
  • Thank you received: 1
  • Karma: 0
Excellent!
This is what I needed.

Thanks again for your fast reply!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.324 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form