Skip to content

Instantly share code, notes, and snippets.

@mburnette
Created March 30, 2022 15:09
Show Gist options
  • Save mburnette/3ac45439753e7ff1d1ec76082a6738c9 to your computer and use it in GitHub Desktop.
Save mburnette/3ac45439753e7ff1d1ec76082a6738c9 to your computer and use it in GitHub Desktop.
[Change Elementor star-rating widget icon] Hack to change the star-rating widget icon. #Elementor
.elementor-star-rating i {
content: '' !important;
font-family: sans-serif;
font-size: 1em;
width: 0;
padding-left: 1.35em;
overflow: hidden;
}
.elementor-star-rating i:after {
content: '\f21c'; /* icon for motorbike - change this value */
font-family: "Font Awesome 5 Free";
font-weight: 900;
color: inherit;
position: absolute;
left: 0;
top: 0;
}
.elementor-star-rating .elementor-star-full:before {
content: '\f21c'; /* icon for motorbike - change this value */
font-family: "Font Awesome 5 Free";
font-weight: 900;
z-index: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment