We have enabled 3 customizations for the Custom Badge which you can find under Badges in your EmbedReviews account.
To get the code for this custom badge, please login to your account and go to Badge from the left menu and select a source as shown below.
In this example, I am using the EmbedSocial Google Location source which I previously connected in Sources.
To get the embeddable code for the custom badge, scroll down to Custom Badges and just copy the code as shown below.
Once you have the code you can customize the following:
Text Color
Text Alignment
Star Color
To apply these customizations in the code, you can just copy/paste the following parameters and change the values
?fontColor=f3ff5f
?textAlign=center (left, center, right)
?starColor=ffffff
They can all be added to the original code like this.
<iframe src="https://embedsocial.com/api/reviews_source_badges/badge-6/en/google/5886?starColor=000000" scrolling="no" style="width: 200px; height: 55px; border: 0px; overflow: hidden;" /></iframe>
If you want to add more than one customization you can separate them by the & character as shown below.
<iframe src="https://embedsocial.com/api/reviews_source_badges/badge-6/en/google/5886?starColor=000000&textAlign=center" scrolling="no" style="width: 200px; height: 55px; border: 0px; overflow: hidden;" /></iframe>
Here's a preview of how the badge looks now.
That's it!
If you have any questions or need additional customizations please feel free to reach out and chat with us, or send us an email at support@embedsocial.com
We're happy to help.