# Disable user avater if linked to email to gravater

**URL:** <https://community.auth0.com/t/disable-user-avater-if-linked-to-email-to-gravater/40432>\
**Category:** Get Help\
**Created:** [April 3, 2020, 1:00am UTC](https://community.auth0.com/t/disable-user-avater-if-linked-to-email-to-gravater/40432 "2020-04-03T01:00:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zarhayda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/zarhayda/32/15668_2.png) [@Zarhayda](https://community.auth0.com/u/Zarhayda)\
**Post date:** [April 3, 2020, 1:00am UTC](https://community.auth0.com/t/disable-user-avater-if-linked-to-email-to-gravater/40432/1 "2020-04-03T01:00:56Z")

</div>

Hello, we have an auth0 lock with custom css and right now, if we enter a gmail it deletes `auth0-lock-header-welcome .auth0-lock-name` and adds in `.auth0-lock-firstname`.

 ![Screen Shot 2020-04-03 at 11.54.54 am](https://global.discourse-cdn.com/auth0/original/3X/7/a/7a39a0407f91de2eee1f3d347fede782b7cc37d9.png)

Is there a way to disable the avatar and the user welcome message and just keep the normal title header like this?

 ![Screen Shot 2020-04-03 at 12.01.36 pm](https://global.discourse-cdn.com/auth0/original/3X/f/4/f4c80a9770345e318efca30e3ad0013bb6df5b0b.png)

Thanks in advanced 🙂

---

<div class="post-metadata">

**Author:** ![sidharth.chaudhary](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sidharth.chaudhary/32/20686_2.png) [@sidharth.chaudhary](https://community.auth0.com/u/sidharth.chaudhary)\
**Post date:** [April 7, 2020, 7:19am UTC](https://community.auth0.com/t/disable-user-avater-if-linked-to-email-to-gravater/40432/2 "2020-04-07T07:19:21Z")

</div>

Hello @Zarhayda, Welcome to the Auth0 Community!

Display name on the lock screen by default is pulled from the Gravatar profile

Please find more information on the link below:  
[https://auth0.com/docs/libraries/lock/v11/configuration#avatar-object-](https://auth0.com/docs/libraries/lock/v11/configuration#avatar-object-)  
You can customise or disable this option, procedure of which is also mentioned in the above link.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [April 7, 2020, 11:43am UTC](https://community.auth0.com/t/disable-user-avater-if-linked-to-email-to-gravater/40432/3 "2020-04-07T11:43:59Z")

</div>

Thanks for sharing this solution @sidharth.chaudhary!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 22, 2020, 11:44am UTC](https://community.auth0.com/t/disable-user-avater-if-linked-to-email-to-gravater/40432/4 "2020-04-22T11:44:01Z")

</div>

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