Remove .answer-container from Text Display questions

Plus d'informations
il y a 3 ans 3 mois #139612 par alimeaday
Hello,

When i use a "Text Display" type, i still get an ugly empty box below the text.
Upon further inspection it seems there is still a .answer-container in the html and it has an outline which creates that box.
If i disable that in the css it goes away for all questions which is not what i want. I want to disable it only on questions which are of the Text Display type. What is the best practice approach to do that?
I use the latest version "250plus-build160725" and use the default template.

Is this even a bug? Because i do not think that is a good display of a Text Display.

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 3 ans 3 mois #139615 par Joffm
Hi, allmeaday,
sorry, I cannot reproduce your problem (see screenshot)

And I do not see any answer container class in the code.

So please provide a sample survey or at least a screenshot.

Kind regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 ans 3 mois - il y a 3 ans 3 mois #139618 par alimeaday
Hello Joffm,

first of all thank you for taking the time!

Here is a link and i attach a screenshot as well.
haller-it.com/limesurvey/index.php?r=sur...x&sid=846472&lang=en

Update: It seems to show only if i use Chromium as browser, in Firefox it does not show.
Pièces jointes :
Dernière édition: il y a 3 ans 3 mois par alimeaday.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 ans 3 mois #139622 par DenisChenu
Hi,

github.com/LimeSurvey/LimeSurvey/blob/ma...s/question.pstpl#L24

In default template : seems to be set in display:none via javascript and not via css. But it's easy to do it in css
framagit.org/Shnoulle/SkeletonQuest/blob...y-ui-custom.css#L768

.boilerplate .answer-container,.boilerplate .question-help-container{display:none}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .
Les utilisateur(s) suivant ont remercié: alimeaday

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 3 ans 3 mois #139801 par alimeaday
Thank you all !

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 4 jours #189804 par asilbering
Hi,

I am having the same problem (see image). I use Limesurvey 2.05+ (I am not sure about the template because it is an institutional installation and I don't have full admin rights).

I tried to use the script below (adapted from the manual with my very limited java scripting skills)

<script charset="utf-8" type="text/javascript">

$(document).ready(function() {

$('input[name="593461X3735X55622"]').attr('hidden', 'hidden');

});</script>

but this didn't work.


Where would I need to insert the code suggested by Denis? (.boilerplate .answer-container,.boilerplate .question-help-container{display:none}). Also in the source of the question text? Do I need to add any additional code? (as you can see I am not familiar with CSS either).

Thanks a lot in advance for your help.

Best regards,
Ana
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 3 jours - il y a 1 mois 3 jours #189829 par tpartner
Depending on the template, place this in the source of the question text:

<style type="text/css">
	.boilerplate .answer,
	.boilerplate .survey-question-help {
			display:none;
	}
</style>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Dernière édition: il y a 1 mois 3 jours par tpartner.
Les utilisateur(s) suivant ont remercié: asilbering

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 3 jours #189840 par asilbering
Works like a charm! Thanks! I am learning a lot!

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!