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

TOPIC: Change subquestion and answer alignment in Citronade theme

Change subquestion and answer alignment in Citronade theme 5 years 1 month ago #66877

  • mra
  • mra's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
The default alignment for subquestions and answers in the Citronade theme is center-aligned.

I would like to align these to the left. I backed up the template.css file and made numerous changes to just about every alignment-oriented option (or those I could find) to no avail.

I'm told Shnoulle created this theme, but if there's any help out there for this, it would be greatly appreciated.
The administrator has disabled public write access.

Change subquestion and answer alignment in Citronade theme 5 years 1 month ago #66892

  • holch
  • holch's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 5428
  • Thank you received: 809
  • Karma: 240
Could you send a link with a survey with this theme?
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.

Change subquestion and answer alignment in Citronade theme 5 years 1 month ago #66916

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
At template.css search for
.choice-5-pt-radio .answers ul, .yes-no .answers ul, .gender .answers ul {
text-align: center;
}

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.

Change subquestion and answer alignment in Citronade theme 5 years 1 month ago #66925

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9576
  • Thank you received: 1374
  • Karma: 390
Hello,

There are some other way to "pseudo-center" the answer part:

Some way:
remove the float:left and the width, and put display:inline on label (line 673)
remove text-align:center on ul (line 499)
remove text-align:center on p.question (line 597)
remove margin-left to input ( line 702)

etc etc ...

I try to make a centered template, and made a lot of change for this :)
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
Last Edit: 5 years 1 month ago by DenisChenu.
The administrator has disabled public write access.
Time to create page: 1.263 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form