Tarek
(Tarek)
September 15, 2022, 8:39am
1
Hi there
I need some help with customizing the Google Review widget a little.
I’d like to reduce the size of the whole widget by moving the Google Icon to the left, right next to the title and of course have the close button come down accordingly.
Could you assist me with this?
Thanks a lot!
Tarek
1 Like
Helga
September 15, 2022, 9:04am
3
Hi @Tarek , happy to see you on the forum! Welcome
We’ve got a CSS code that could help you reduce the widget, but it just shrinks the whole badge. Maybe it still will work for you, so here’s the code:
.global-styles, [class^="BadgeContainer__Inner"] {
transform: scale(0.7);
transform-origin: left bottom;
margin-left: 100%
bottom: 0;
}
Please let me know if it helped
Tarek
(Tarek)
September 15, 2022, 9:19am
4
Thanks a lot Helga!
That is unfortunately not what I need
Maybe you can help with moving the Google Icon to the left, next to the title?
Helga
September 15, 2022, 9:20am
5
No worries, I guess we can find a solution for you with our devs
I’ll get back to you as soon as I have any news!
Helga
September 15, 2022, 10:05am
6
@Tarek I’m back with another solution
We’ve added the following code to the widget:
[class*="BadgeSources__Container"] {
left: 34px;
bottom: 80px;
position: fixed;
}
Also, the devs corrected the previous CSS code a bit:
Could you please check and let me know if it looks good?
Tarek
(Tarek)
September 15, 2022, 10:13am
7
Yes!
That is exactly what I wanted! Thank you!
1 Like
Helga
September 15, 2022, 11:30am
8
You’re most welcome, @Tarek !