Created
March 30, 2022 15:09
-
-
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
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
.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