Created
August 5, 2014 14:46
-
-
Save DeskWOW/04161fe80e0b1d4f86ac to your computer and use it in GitHub Desktop.
How to change article rating to "Was this helpful? Yes / No" on one line. Result: http://take.ms/SuQdD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Replace this: --> | |
{{ rate_block }} | |
<!-- with this: --> | |
<style> | |
#rate_article a { | |
text-decoration: none; | |
} | |
#rate_article div { | |
display: inline-block; | |
float: none; | |
margin: 0; | |
height: auto; | |
font-style: normal; | |
width: auto; | |
} | |
#rate_article span { | |
display: none; | |
} | |
#rate_article_container { | |
display: inline-block; | |
} | |
.rate-prompt { | |
font-weight: bold; | |
} | |
#rate_article div:not(.rate-link-down):after { | |
content: " / "; | |
} | |
#rate_article_container a { | |
background: none; | |
border: none; | |
text-indent: 0; | |
border-radius: 0; | |
height: auto; | |
width: auto; | |
float: none; | |
margin: 0; | |
font-style: normal; | |
} | |
</style> | |
<span class="rate-prompt">Was this helpful?</span> | |
{{ rate_block }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment