Hi there, we would like to adapt the Content Helpfulness bar to include only 2 options (positive / negative)? We would also like to change it to a thumbs up & thumbs down.
Is it possible in any way, with some CSS or Third Party Script, or other changes?
The reason why we would like to change this is that we want to make this score consistent with our other support channels (which have a voting bar) so we can better compare.
Cheers, Daniele
Page 1 / 1
Hey @Daniele Cmty
I am looping in @olimarrio and @tom.shaddock incase they have some knowledge / insight.
It will just hide the neutral icon, replacing the images would require a bit more customisation. But will give you the binary yes/no you were after.
Woohoo, thank you so much @Alistair FIeld!
Replacing the images would require a bit more customisation
OK, do you know what kind of customisation? Would that also be via CSS?
@Daniele Cmty if the question was how to make spinach pesto from scratch, I could help you out.
But this is a few CSS levels over my head.
@matt enbar or @olimarrio any ideas?
first thing you would need to do is add custom css to hide the neutral option like so:
.qa-topic-neutral-icon{ display:none; }
to change the images of the happy and sad face you will need use a 3rd party script to change either the SVG image or insert a different image like so:
//For using an image URL
document.querySelector(".qa-topic-helpful-icon").innerHTML='<img src="thumb up image url here" />' document.querySelector(".qa-topic-nothelpful-icon").innerHTML='<img src="thumb down image url" />'
// For using SVG document.querySelector(".qa-topic-helpful-icon").innerHTML='code for SVG' document.querySelector(".qa-topic-nothelpful-icon").innerHTML='code for SVG'
@matt enbar you are an absolute legend!! Thank you!
@Daniele Cmty if the question was how to make spinach pesto from scratch, I could help you out.
Benissimo, I will be looking forward!
@Daniele Cmty my pleasure :)
Please note you may need some additional CSS to get the images exactly how you want them to look.
I just noticed that this bar is now more prominent than it was before. It is not static, but it floats on top of the content if I scroll up. That’s cool! is that new or did i just never notice?
In fact, the adoption of the Helpfulness Bar by our end users was quite low. Only a few dozen clicks within dozens of thousands of sessions.
I hope this change will make the adoption increase!
first thing you would need to do is add custom css to hide the neutral option like so:
.qa-topic-neutral-icon{ display:none; }
to change the images of the happy and sad face you will need use a 3rd party script to change either the SVG image or insert a different image like so:
//For using an image URL
document.querySelector(".qa-topic-helpful-icon").innerHTML='<img src="thumb up image url here" />' document.querySelector(".qa-topic-nothelpful-icon").innerHTML='<img src="thumb down image url" />'
// For using SVG document.querySelector(".qa-topic-helpful-icon").innerHTML='code for SVG' document.querySelector(".qa-topic-nothelpful-icon").innerHTML='code for SVG'
I have a modification question, too: How to change the order of the emojis?
According to our UX team, such ratings usually start with unhappy (on the left) and end with happy (on the right). Similar to other rating scales (from zero stars to five stars, for example) and according to the reading direction (in RTL languages). Here, it’s the other way around.
Is there also CSS for this?
Thanks, Eva
(I mean LTR languages (left to right) of course :-)
Hi @Eva ,
Yes you can use the following CSS to change the order of the emojis:
.qa-topic-nothelpful-icon { order: 1; }
.qa-topic-neutral-icon { order: 2; }
.qa-topic-helpful-icon { order: 3; }
Hi @Eva ,
Yes you can use the following CSS to change the order of the emojis:
.qa-topic-nothelpful-icon { order: 1; }
.qa-topic-neutral-icon { order: 2; }
.qa-topic-helpful-icon { order: 3; }
Thanks!
Hello guys, I wanted to ask, I tried to operationalize the proposed solution using .innerHtml(), but unfortunately unsuccessfully. The problem is that the reaction smileys only load after maybe 1s after the whole DOM of the page is loaded. This means that third-party scripts can't work, as they run before these smileys are loaded. Even if I use for example addEventListener('DOMContentLoaded') I am not able to load the reactions element because it doesn't exist for another second.
How did you solve this problem? The only solution that works is to use a timeout, but that means it can change before someone's eyes, which I think is an unwanted feature.
If you ever had a profile with us, there's no need to create another one. Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.