How do I change the star outline in the slider/star question type? | XM Community
Solved

How do I change the star outline in the slider/star question type?

  • 4 July 2019
  • 6 replies
  • 206 views

Userlevel 1
Hello!

Is there a way to change the colour of the star outline in the slider/star question?

I am using a photo background and I find that the stars don't show enough. I would like to change the light grey outline to a darker grey, but I don't know if it's possible or how to...

!


Many thanks in advance!
icon

Best answer by TomG 5 July 2019, 14:30

View original

6 replies

Userlevel 7
Badge +27
I think you would have to create a new stars.png file, upload it, then create a CSS rule to override this rule:
```
.Skin .STAR .StarsContainer,.Skin .STAR .StarsContainer .Filled,.Skin .STAR .StarsEventWatcher{height:26px;background:transparent url(https://jfe-cdn.qualtrics.com/themes/base-templates/qualtrics/base/version-1561388512231-d0e045/files/stars.png) 0 0}
```
Userlevel 1
Thank you very much Tom! As I'm a newbie to CSS, do I just have to replace the url in brackets with my new star url (ex: https://opinion.reitmans.com/CP/Graphic.php?IM=IM_da8gExUHNLXt8k)?
Userlevel 7
Badge +27
> @DaisyD said:
> Thank you very much Tom! As I'm a newbie to CSS, do I just have to replace the url in brackets with my new star url (ex: https://opinion.reitmans.com/CP/Graphic.php?IM=IM_da8gExUHNLXt8k)?

Yes, just replace the url in parens. However, I get an error when I click on your image link so something is wrong with it. Also, your star image has to have EXACTLY the same dimensions and star placement as the original.

Hey TomG , I am facing similar issue, but can you tell me where exactly do I have to paste this code
.Skin .STAR .StarsContainer,.Skin .STAR .StarsContainer .Filled,.Skin .STAR .StarsEventWatcher{height:26px;background:transparent url(https://jfe-cdn.qualtrics.com/themes/base-templates/qualtrics/base/version-1561388512231-d0e045/files/stars.png) 0 0}

?

Userlevel 3
Badge +10

Hey TomG , I am facing similar issue, but can you tell me where exactly do I have to paste this code
.Skin .STAR .StarsContainer,.Skin .STAR .StarsContainer .Filled,.Skin .STAR .StarsEventWatcher{height:26px;background:transparent url(https://jfe-cdn.qualtrics.com/themes/base-templates/qualtrics/base/version-1561388512231-d0e045/files/stars.png) 0 0}

?

Hey @Parth3399 you can paste this piece of CSS code in the look&feel of your survey (Style > CSS).

It worked for me 😉

Userlevel 2
Badge +4

Hey TomG , I am facing similar issue, but can you tell me where exactly do I have to paste this code
.Skin .STAR .StarsContainer,.Skin .STAR .StarsContainer .Filled,.Skin .STAR .StarsEventWatcher{height:26px;background:transparent url(https://jfe-cdn.qualtrics.com/themes/base-templates/qualtrics/base/version-1561388512231-d0e045/files/stars.png) 0 0}

?

Hey @Parth3399 you can paste this piece of CSS code in the look&feel of your survey (Style > CSS).

It worked for me 😉

Hello! Can you help me, im trying to do this to change the star’s colour when hovered/selected but this isnt working for me. This is the code im using:

 

.Skin .STAR .StarsContainer,.Skin .STAR .StarsContainer .Filled,.Skin .STAR .StarsEventWatcher{height:26px;background:transparent url(https://clinicainternacional.yul1.qualtrics.com/ControlPanel/Graphic.php?IM=IM_jpE8yWRCC4XDCEa) 0 0}

 

Thank you!

Leave a Reply