Welcome to the LimeSurvey Community Forum

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

problem with star rating in template revolution

More
9 years 11 months ago - 9 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
Last edit: 9 years 11 months ago by Pikka.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 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.
The topic has been locked.
More
9 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
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 11 months ago #106714 by tpartner
You can add this to the end of template.css to fix up the star rating display:
Code:
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
The topic has been locked.
More
9 years 11 months ago #106715 by Pikka
Thanks for the try, but unfortunately nothing changed at all. Do you have another idea?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 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.
The topic has been locked.
More
9 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!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose