# Social Login - Doesn't Comply With Google Sign-in Branding Guidelines

**URL:** <https://community.hivepress.io/t/social-login-doesnt-comply-with-google-sign-in-branding-guidelines/6566>\
**Category:** Social Login\
**Tags:** social-login\
**Created:** [July 12, 2023, 7:47am UTC](https://community.hivepress.io/t/social-login-doesnt-comply-with-google-sign-in-branding-guidelines/6566 "2023-07-12T07:47:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![thefourcraft](https://community.hivepress.io/user_avatar/community.hivepress.io/thefourcraft/32/8986_2.png) [@thefourcraft](https://community.hivepress.io/u/thefourcraft)\
**Post date:** [July 12, 2023, 7:47am UTC](https://community.hivepress.io/t/social-login-doesnt-comply-with-google-sign-in-branding-guidelines/6566/1 "2023-07-12T07:47:24Z")

</div>

Here are the up-to-date branding guidelines, my Outh-app got Rejacted by Google for this…

> **[「Google でログイン」のブランドの取り扱いガイドライン  |  Google Identity  | ...](https://developers.google.com/identity/branding-guidelines?hl=ja)**

 ![_גיימינג.ישראל Screenshot](https://community.hivepress.io/uploads/default/original/2X/f/fd5d5ecee02cd2aef21b588560c7e2c585d11eef.jpeg)

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [July 13, 2023, 9:24am UTC](https://community.hivepress.io/t/social-login-doesnt-comply-with-google-sign-in-branding-guidelines/6566/2 "2023-07-13T09:24:14Z")

</div>

Hi,

Yes, we are aware of this update from Google, and we will update it from our side in the near future as well. Please use these CSS snippets ([How to add custom code snippets - HivePress Help Center](https://help.hivepress.io/article/23-how-to-add-custom-code-snippets)):

```auto
.hp-social-links__item--google{
	background-color: #FFFFFF !important;
	border-radius: 5px;
	-webkit-box-shadow: 1px 1px 5px 1px #ccc !important;
    box-shadow: 1px 1px 5px 1px #ccc !important;
}

.hp-social-links__item--google:hover{
	background-color: #4285F4 !important;
}

.hp-social-links__item--google span{
	color: #6e6e6e !important;
}

.hp-social-links__item--google:hover span{
	color: #FFFFFF !important;
}

.hp-social-links__item--google img{
	content: url('https://developers.google.com/static/identity/images/g-logo.png');
	height: 30px !important;
}

```

​I hope this is helpful to you.

---

<div class="post-metadata">

**Author:** ![zakarya](https://community.hivepress.io/user_avatar/community.hivepress.io/zakarya/32/400_2.png) [@zakarya](https://community.hivepress.io/u/zakarya)\
**Post date:** [August 10, 2023, 8:30pm UTC](https://community.hivepress.io/t/social-login-doesnt-comply-with-google-sign-in-branding-guidelines/6566/3 "2023-08-10T20:30:08Z")

</div>

For a real png logo use this link : ‘[https://cdn.freebiesupply.com/logos/large/2x/google-icon-logo-png-transparent.png](https://cdn.freebiesupply.com/logos/large/2x/google-icon-logo-png-transparent.png)’

---

<div class="post-metadata">

**Author:** ![thefourcraft](https://community.hivepress.io/user_avatar/community.hivepress.io/thefourcraft/32/8986_2.png) [@thefourcraft](https://community.hivepress.io/u/thefourcraft)\
**Post date:** [August 16, 2023, 7:12am UTC](https://community.hivepress.io/t/social-login-doesnt-comply-with-google-sign-in-branding-guidelines/6566/4 "2023-08-16T07:12:53Z")

</div>

I don’t trust this CDN server, so I will use the original link form Google

Don’t use random CDNs or embed random images in your site!

---

<div class="post-metadata">

**Author:** ![zakarya](https://community.hivepress.io/user_avatar/community.hivepress.io/zakarya/32/400_2.png) [@zakarya](https://community.hivepress.io/u/zakarya)\
**Post date:** [August 16, 2023, 10:52am UTC](https://community.hivepress.io/t/social-login-doesnt-comply-with-google-sign-in-branding-guidelines/6566/5 "2023-08-16T10:52:56Z")

</div>

Oh i’m a beginner thanks for the advice but i modify the code so when the mouse go over the button turns black so I needed a real png image without background. Any clue to make it with a trustful link ?

---

<div class="post-metadata">

**Author:** ![gaz86falcon](https://community.hivepress.io/user_avatar/community.hivepress.io/gaz86falcon/32/6832_2.png) [@gaz86falcon](https://community.hivepress.io/u/gaz86falcon)\
**Post date:** [September 12, 2023, 7:44pm UTC](https://community.hivepress.io/t/social-login-doesnt-comply-with-google-sign-in-branding-guidelines/6566/6 "2023-09-12T19:44:00Z")

</div>

Snippet not working for me.

![Screenshot 2023-09-12 at 21.43.07](https://community.hivepress.io/uploads/default/original/2X/c/cb146269c5cee665814ab3d5da5fcf082e904457.png)

---

<div class="post-metadata">

**Author:** ![aqmiami7](https://community.hivepress.io/user_avatar/community.hivepress.io/aqmiami7/32/2069_2.png) [@aqmiami7](https://community.hivepress.io/u/aqmiami7)\
**Post date:** [September 13, 2023, 6:09am UTC](https://community.hivepress.io/t/social-login-doesnt-comply-with-google-sign-in-branding-guidelines/6566/7 "2023-09-13T06:09:34Z")

</div>

Hi. This is not a code snippet (php). Instead it is a CSS code.

Go to appearance\>add additional CSS and add this code there.

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [September 13, 2023, 6:38am UTC](https://community.hivepress.io/t/social-login-doesnt-comply-with-google-sign-in-branding-guidelines/6566/8 "2023-09-13T06:38:57Z")

</div>

Hi,

Please check this doc [How to add custom code snippets - HivePress Help Center](https://help.hivepress.io/article/23-how-to-add-custom-code-snippets)

---

<div class="post-metadata">

**Author:** ![gaz86falcon](https://community.hivepress.io/user_avatar/community.hivepress.io/gaz86falcon/32/6832_2.png) [@gaz86falcon](https://community.hivepress.io/u/gaz86falcon)\
**Post date:** [September 13, 2023, 9:32am UTC](https://community.hivepress.io/t/social-login-doesnt-comply-with-google-sign-in-branding-guidelines/6566/9 "2023-09-13T09:32:13Z")

</div>

Thanks for the reply. I’ve done it properly now.

But… when i click log in. I can choose the account. But then it goes to the waiting page, closes, but it doesn’t log in.

How can i fix that?

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [September 14, 2023, 7:40am UTC](https://community.hivepress.io/t/social-login-doesnt-comply-with-google-sign-in-branding-guidelines/6566/10 "2023-09-14T07:40:39Z")

</div>

Hi,

Please disable third-party plugins and customizations (if there are any) and check if this issue persists. If you use a caching plugin, make sure that caching is disabled for logged-in users. Also, please refresh permalinks [How to refresh WordPress permalinks - HivePress Help Center](https://help.hivepress.io/article/165-how-to-refresh-wordpress-permalinks)

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [October 14, 2023, 7:41am UTC](https://community.hivepress.io/t/social-login-doesnt-comply-with-google-sign-in-branding-guidelines/6566/11 "2023-10-14T07:41:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
