# Header bar got drunk on Firefox

**URL:** <https://meta.discourse.org/t/header-bar-got-drunk-on-firefox/41245>\
**Category:** Bug\
**Created:** [18 Marzo 2016, 1:52am UTC](https://meta.discourse.org/t/header-bar-got-drunk-on-firefox/41245 "2016-03-18T01:52:38Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [18 Marzo 2016, 7:45pm UTC](https://meta.discourse.org/t/header-bar-got-drunk-on-firefox/41245/14 "2016-03-18T19:45:46Z")

</div>

You can do it by setting the line-height on the `<a>` element that contains the logo to equal to the max-height of the logo. That should work for all cases except for when the logo max-height is changed in a customization.

```plaintext
<a class="logo-link" data-auto-route="true" href="/">
  <img id="site-logo" class="logo-big" src="https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/original/3X/9/d/9d543e92b15b06924249654667a81441a55867eb.png" alt="Discourse Meta">
</a>

```

```css
a.logo-link {
    line-height: 40px;
}

```

I’ve reduced the size of the logo here and but it stays centered.

 ![](https://global.discourse-cdn.com/meta/original/3X/7/7/7740726be6ab407d2763acd39d047c0a091f1b91.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/9/a/9aa101eac230aca17f9626447e9cd175c787d792.png)

---

_[View the full topic](https://meta.discourse.org/t/header-bar-got-drunk-on-firefox/41245)._
