No recent searches
Popular Articles
Sorry! nothing found for
Posted about 4 hours ago by Support WorkWithPlus
If you use Rating Control, and want to use another icon instead of stars, try the following:
Add the following classes to the Design System you are using. WithWorkWithPlus, the default design system is WorkWithPlusDS.
.rating-container-rtl .rating-stars:before, .rating-container-rtl:before, .rating-container:before { content: '\e005\e005\e005\e005\e005'; } .rating-container .rating-stars:before { content: '\e005\e005\e005\e005\e005'; text-shadow: 0 0 1px rgba(0, 0, 0, .7); }
Write the Unicode code into content: '<Copy unicode here>'
You can use the unicode code by writing '\e000' to '\e260', where the numbers 000 to 260 are the codes for the different icons.
To add more than one icon, add the unicode codes one next to the other.
'\e104\e104\e104\e104\e104\e005\e006'
To change the color of the selected icons, just add the following class to WorkWithPlusDS and change the hexadecimal color code.
.rating-container .rating-stars { color: #16FF60; }
0 Votes
0 Comments
Login or Sign up to post a comment
People who like this
This post will be deleted permanently. Are you sure?
If you use Rating Control, and want to use another icon instead of stars, try the following:
Change Icon
Add the following classes to the Design System you are using. WithWorkWithPlus, the default design system is WorkWithPlusDS.
.rating-container-rtl .rating-stars:before, .rating-container-rtl:before, .rating-container:before { content: '\e005\e005\e005\e005\e005'; } .rating-container .rating-stars:before { content: '\e005\e005\e005\e005\e005'; text-shadow: 0 0 1px rgba(0, 0, 0, .7); }Write the Unicode code into content: '<Copy unicode here>'
You can use the unicode code by writing '\e000' to '\e260', where the numbers 000 to 260 are the codes for the different icons.
To add more than one icon, add the unicode codes one next to the other.
'\e104\e104\e104\e104\e104\e005\e006'
Change color
To change the color of the selected icons, just add the following class to WorkWithPlusDS and change the hexadecimal color code.
.rating-container .rating-stars { color: #16FF60; }0 Votes
0 Comments
Login or Sign up to post a comment