Auth0 Home Blog Docs

Background image on hosted login page on mobile

hosted-login-page
#21

Thanks a lot @srinivas for sharing that knowledge with community!

#22

Hello Srinivas,
Thanks again for your prompt response. I added the style to the tag as you suggested, but still the background wouldn’t show - please see attached image. Is there something I am doing wrong / not doing right? Please advice.

This is done via the “Customize Login Page” of the Auth0 dashboard.

#23

Hello Konrad,
Thanks for your input on our thread on how I can implement a background image on the login page. I tried doing it the way Srinivas suggested, but it wouldn’t work so I was thinking if it’d work with a script as such:

<script>document.body.style.backgroundImage = "myimage.jpg";</script>
#24

Interesting it works for me please check https://www.eventvalue.com/ click on login and it shows the background image.

#25

Hmm it’s quite interesting @chris1. I do checked the website provided by @srinivas and it indeed works. Wondering if there is any conflicting code in your base that prevents this from happening

closed #26

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