Welcome, Guest
Username: Password: Remember me

TOPIC: Change subquestion and answer alignment in Citronade theme

Change subquestion and answer alignment in Citronade theme 3 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.

Re: Change subquestion and answer alignment in Citronade theme 3 years 1 month ago #66892

  • holch
  • holch's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 2955
  • Thank you received: 379
  • Karma: 124
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 | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Re: Change subquestion and answer alignment in Citronade theme 3 years 1 month ago #66916

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5423
  • Thank you received: 307
  • Karma: 252
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)limesurvey.org'"
The administrator has disabled public write access.

Re: Change subquestion and answer alignment in Citronade theme 3 years 1 month ago #66925

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 869
  • Karma: 257
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 :)
Last Edit: 3 years 1 month ago by DenisChenu.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.120 seconds
Donation Image