Welcome, Guest
Username: Password: Remember me

TOPIC: How to change RADIO LIST alignment ?

How to change RADIO LIST alignment ? 8 months 1 day ago #105286

  • rmsolar
  • rmsolar's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 9
  • 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.
s1.jpg


s2.jpg
The administrator has disabled public write access.

How to change RADIO LIST alignment ? 8 months 1 day ago #105292

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4270
  • Thank you received: 803
  • Karma: 368
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: rmsolar

How to change RADIO LIST alignment ? 8 months 1 day ago #105295

  • rmsolar
  • rmsolar's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 9
  • 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.114 seconds
Donation Image