# Hosted Pages Styling

**URL:** <https://community.auth0.com/t/hosted-pages-styling/8336>\
**Category:** Get Help\
**Tags:** lock-hosted-page\
**Created:** [September 29, 2017, 1:34am UTC](https://community.auth0.com/t/hosted-pages-styling/8336 "2017-09-29T01:34:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnny.park](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@johnny.park](https://community.auth0.com/u/johnny.park)\
**Post date:** [September 29, 2017, 1:34am UTC](https://community.auth0.com/t/hosted-pages-styling/8336/1 "2017-09-29T01:34:58Z")

</div>

Hello,  
I’m trying to customize the hosted pages: Login and Password. I’m trying to use our logo. It seems that no matter its natural size, Lock tries to resize it to height 55px. So our 233x42 logo is cutoff because it’s too wide. If we create a taller logo, it will be even more cut off (because the ratio is kept). If we decrease the height, Lock will resize it to 55px anyway.

I tried to add .auth0-lock-header-logo as embedded style, but it doesn’t seem to take effect. [https://auth0.com/docs/libraries/lock/v10/ui-customization](https://auth0.com/docs/libraries/lock/v10/ui-customization) suggests it’s possible to customize the CSS, but doesn’t say how.

What’s the recommended way to use a wide logo? Thank you.

---

<div class="post-metadata">

**Author:** ![menon.sujesh](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@menon.sujesh](https://community.auth0.com/u/menon.sujesh)\
**Post date:** [September 29, 2017, 1:50am UTC](https://community.auth0.com/t/hosted-pages-styling/8336/2 "2017-09-29T01:50:05Z")

</div>

You could adjust the required height and width of the logo by modifying the lock classes to what you need. Make sure to add !important rule for the CSS effect to supersede what Lock does.

Try the following:

```
 .auth0-lock-header-logo {
        height: 40px !important;
      }

```

---

<div class="post-metadata">

**Author:** ![johnny.park](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@johnny.park](https://community.auth0.com/u/johnny.park)\
**Post date:** [September 29, 2017, 1:56am UTC](https://community.auth0.com/t/hosted-pages-styling/8336/3 "2017-09-29T01:56:29Z")

</div>

Thank you, Menon. The !important was the key.

---

<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:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/hosted-pages-styling/8336/4 "2018-03-02T05:56:44Z")

</div>


