Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Hintergrundfarbe und Verstecken der Gitterlinien

  • kasparis
  • kasparis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #204963 by kasparis
Hallo!

ich würde gerne jede Frage mit einer Hintergrundfarbe versehen und zwar so, dass es ein Feld ist und die Antwortkategorien nicht mit anderem Hintergrund hervorgehoben werden. Was ich bis jetzt in custom.css versucht habe:

.question-container.row {
margin-right: 0;
margin-left: 0;
}
.question-container {
background-color: #e1ecf7;
margin-bottom: 15px;
padding-bottom: 15px;
border: none;
margin-top: 30px;
}


.body {
font-family: Arial, sans-serif;
font-size: 14px;
line-height: 1.42857143;
color: #333;
background-color: #E1ECF7;
margin: 0;
padding: 0;
border: none;
}


Das hatte nicht den gewünschten Effekt. Ich habe zwei Bilder in den Anhang getan - so wie es bei mir aussieht und so wie ich es gerne hätte.

Vielleicht hat ja jemand die Lösung!

Danke im Voraus!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago - 3 years 7 months ago #204964 by Joffm
LimeSurvey Version?
Welches Theme resp. Template?
Und es soll wie Frage2 aussehen, oder?

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 7 months ago by Joffm.
The topic has been locked.
  • kasparis
  • kasparis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #204965 by kasparis
Version: 3.22.17+200525
Ich verwende das Template skelvanilla
Genau, wie Frage2

Danke!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #204974 by Joffm
Code:
<style type="text/css">.radio-list li.radio-item label, .checkbox-list li.checkbox-item label {
  border:0;
  color: #333;
  background-color: #E1ECF7;
</style>

oder auch in der custom.css


Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • kasparis
  • kasparis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #204976 by kasparis
Wo, wenn nicht in der custom.css?
Weil da zeigt er mir Fehlermeldungen an, wenn ich es so eingebe.
Habe es bei custom.css so probiert:

.radio-list .radio-item, .checkbox-list .checkbox-item label {
border:0;
color: #333;
background-color: #E1ECF7;
}

Aber das klappt leider nicht.

Danke für Ihre Geduld!
The topic has been locked.
  • kasparis
  • kasparis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #204977 by kasparis
Es sieht jetzt so aus:
Attachments:
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #204978 by holch
Dein Beispiel-Screenshot komnt aber nicht von einer Frage vom Typ List (Radio), so wie du in den ersten Beispielen gezeigt hast, sondern von einer Array/Matriz-Frage... ?!

Es wäre schon wichtig genau zu klären, was du da genau machen willst.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #204979 by holch
Und als Tip zur besseren lesbarkeit deiner Matrix-Frage: Schreibe die Nummer unter den Text, dann sind alle Nummern auf der gleichen Höhe und der Text steht drüber. Sieht mit sicher heit besser aus und ist auch besser zu erfassen. Das hat jetzt aber mit der eigentlichen Frage nichts zu tun.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • kasparis
  • kasparis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #204980 by kasparis
Ich möchte grundsätzlich -unabhängig von den/ für alle Fragetypen - den Antwort-Block als eine Oberfläche haben.
Also Hintergrundfarbe blau, Antwortblock blau und keine Gitterlinien.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #204982 by holch
Das halte ich, gerade bei langen Matrix-Fragen zwar für keine gute Idee, aber das ist doch schon mal eine Info, mit der man schauen könnte, welche Stellen in CSS da gebraucht werden.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #204983 by Joffm
Hallo,

Wo, wenn nicht in der custom.css?

Na, im Fragentext.
Es gab hier schon öfter Anfragen, wie man einzelne Fragen farbig darstellen kann.

Dass die tags in der custom.css wegfallen, sollte Dir klar sein; Du hast es ja so bei Deinen Versuchen gezeigt.
Und mach das bitte nicht noch einmal, zunächst ein list(radio) zu zeigen, und sich dann zu wundern, dass es nicht in einem array funktioniert.
Denn, was ich dir schrieb, erzeugt zunächst einmal genau Dein Beispiel.

Abgesehen davon wäre es sicher das Beste, den Autor des Themes zu fragen. (also Denis)

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • kasparis
  • kasparis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #205007 by kasparis
Keine Sorge, es hat auch bei list(radio) nicht geklappt.
The topic has been locked.
Moderators: Joffm

Lime-years ahead

Online-surveys for every purse and purpose