Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Wanted to change the wording of big social buttons #116

Closed
wrjanan opened this issue Sep 2, 2016 · 1 comment
Closed

Wanted to change the wording of big social buttons #116

wrjanan opened this issue Sep 2, 2016 · 1 comment

Comments

@wrjanan
Copy link

wrjanan commented Sep 2, 2016

Found that the big social buttons are hard coded with line 31855 : 'LOGIN WITH '

I want it to be something else, took quite awhile to solve this, so in the end, implemented a client side fix using javascript.

            var facebookSocial = document.getElementsByClassName('auth0-lock-social-button-text')[0];
            facebookSocial.innerText = "SIGN IN WITH FACEBOOK";

Hope this helps someone out there too! Remember to load this code block only when site is loaded.

Cheers to all, thank you auth0 for an amazing module!! :D

@wrjanan
Copy link
Author

wrjanan commented Sep 2, 2016

I just realised that @thameera has solved it here #115

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant