Check out the LimeSurvey source code on GitHub!

problem with star rating in template revolution

More
2 years 11 months ago - 2 years 11 months ago #106680 by Pikka
Hi folks,

we use the revolution template in LimeSurvey 2.0+ Build 130802 to optimize our survey for mobile devices. We found that the template doesn't display 5-Point-Question (Type "Stars") correctly (both when opening the survey on a desktop-PC and mobile Device), see:



How can we solve that problem? Unfortunately, we cannot do any javascript-workarounds due to our institution's regulations.

Thanks!

File Attachment:

File Name: limesurvey...3039.lsq
File Size:2 KB
Attachments:
Last Edit: 2 years 11 months ago by Pikka.

Please Log in to join the conversation.

More
2 years 11 months ago #106686 by tpartner
Sorry, we cannot help with custom templates without at least being able to see a live survey.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
2 years 11 months ago #106702 by Pikka
Sorry, you can find the a test survey under this link: survey.uni-hannover.de/index.php/979844/lang-de-informal
The problematic star rating is to be found from the third question page (räumliche Ausstattung) onwards.

Thanks

Please Log in to join the conversation.

More
2 years 11 months ago #106714 by tpartner
You can add this to the end of template.css to fix up the star rating display:
ul.stars-wrapper {
    list-style: none outside none;
}
 
ul.stars-wrapper img.radios {
    display: none;
}
 
ul.stars-wrapper .rating-cancel {
    width: 0 !important;
}

Having said that, I think it is a bad idea to use the image-tick and star-rating plugins in the same question. I think you will need to do some work with your JavaScript file.


.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: Pikka

Please Log in to join the conversation.

More
2 years 11 months ago #106715 by Pikka
Thanks for the try, but unfortunately nothing changed at all. Do you have another idea?

Please Log in to join the conversation.

More
2 years 11 months ago #106717 by tpartner
I don't see that you have added those rules to template.css.

survey.uni-hannover.de/upload/templates/...default/template.css

.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
2 years 11 months ago #106718 by Pikka
So embarassing of me, I added it to the wrong template. But now it finally is in the correct place and works just fine. Thank you very much for your help and please excuse my former incompetence!

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form