# Whitelabel Logo Width Solution?

**URL:** <https://community.sitejet.io/t/whitelabel-logo-width-solution/279>\
**Category:** Project Manager\
**Tags:** crm\_whitelabel\
**Created:** [June 8, 2021, 11:16am UTC](https://community.sitejet.io/t/whitelabel-logo-width-solution/279 "2021-06-08T11:16:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Stoltz](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/david_stoltz/32/171_2.png) [@David\_Stoltz](https://community.sitejet.io/u/David_Stoltz)\
**Post date:** [June 8, 2021, 11:16am UTC](https://community.sitejet.io/t/whitelabel-logo-width-solution/279/1 "2021-06-08T11:16:20Z")

</div>

I found that no matter what size logo I uploaded, it displayed too small (at least my logo did).

To solve this in the management area, I went to the whitelabel area, and added CSS for the .headerlogo class - you can set the width to whatever you want - 400px worked well for me…here’s the code for the “custom head code”

.headerlogo { width: 400px; }

It works! And I can see this works because if you “view source” of the page, you can see the CSS was added to the HEAD area as intended…

However, in the customer portal area, the CSS/HTML is a little different, but the following CSS _should_ work:

.header .headerlogo .logo--background { min-width: 400px; }

But it doesn’t - after poking around this seems to be a **bug** because if I “view source” of the customer portal, the CSS has NOT been inserted into the HEAD area. (cleared cache, etc)

I did report this to SiteJet, but they asked me to post it in the community - so here we are 😉

Any ideas? Thanks!

---

<div class="post-metadata">

**Author:** ![zachary](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/zachary/32/26_2.png) [@zachary](https://community.sitejet.io/u/zachary)\
**Post date:** [June 8, 2021, 2:59pm UTC](https://community.sitejet.io/t/whitelabel-logo-width-solution/279/2 "2021-06-08T14:59:57Z")

</div>

Interesting…I wonder if that’s intentional? CSS in the head…that’s not too common, is it?

---

<div class="post-metadata">

**Author:** ![David\_Stoltz](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/david_stoltz/32/171_2.png) [@David\_Stoltz](https://community.sitejet.io/u/David_Stoltz)\
**Post date:** [June 8, 2021, 3:49pm UTC](https://community.sitejet.io/t/whitelabel-logo-width-solution/279/3 "2021-06-08T15:49:57Z")

</div>

You can put CSS in the head, as long as it’s enclosed with style tags - but this seems to be a bug where it’s “supposed” to insert whatever code you add into the head section, but does not - only seems to _not_ work for the customer portal.

---

<div class="post-metadata">

**Author:** ![Jean\_Pierre\_Michael](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/jean_pierre_michael/32/101_2.png) [@Jean\_Pierre\_Michael](https://community.sitejet.io/u/Jean_Pierre_Michael)\
**Post date:** [June 8, 2021, 4:45pm UTC](https://community.sitejet.io/t/whitelabel-logo-width-solution/279/4 "2021-06-08T16:45:21Z")

</div>

Maybe should add a height. Try this

a.logo–background {  
width: 200px;  
height: 67px  
}  
But add it to your css file

---

<div class="post-metadata">

**Author:** ![David\_Stoltz](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/david_stoltz/32/171_2.png) [@David\_Stoltz](https://community.sitejet.io/u/David_Stoltz)\
**Post date:** [June 8, 2021, 6:30pm UTC](https://community.sitejet.io/t/whitelabel-logo-width-solution/279/5 "2021-06-08T18:30:20Z")

</div>

It’s not a matter of incorrect CSS - the issue is SiteJet is not inserting the CSS (whatever it is) into the HEAD of the document. If the CSS isn’t present in the document, it can’t apply it - again, this seems to be a bug - hoping someone can confirm this…

So the second area of the whitelabeling (custom head code for the customer portal) should affect your domain at [my.companyname.com/login](http://my.companyname.com/login) (but does not)…do a view source and you can see the CSS is not inserted…

---

<div class="post-metadata">

**Author:** ![Kamil](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/kamil/32/94_2.png) [@Kamil](https://community.sitejet.io/u/Kamil)\
**Post date:** [June 9, 2021, 5:40am UTC](https://community.sitejet.io/t/whitelabel-logo-width-solution/279/6 "2021-06-09T05:40:28Z")

</div>

It works when you are logged in. but you are correct at login page Sitejet does not insert CSS in the head of the document. Don’t know why is that, maybe for security reasons.

---

<div class="post-metadata">

**Author:** ![David\_Stoltz](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/david_stoltz/32/171_2.png) [@David\_Stoltz](https://community.sitejet.io/u/David_Stoltz)\
**Post date:** [June 9, 2021, 11:27am UTC](https://community.sitejet.io/t/whitelabel-logo-width-solution/279/7 "2021-06-09T11:27:27Z")

</div>

Oh wow - thanks for that…I haven’t even created a website yet, so I don’t even have a login for the customer portal, so I’ve wasted a bit of time with this - thank you!

---

<div class="post-metadata">

**Author:** ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)\
**Post date:** [July 7, 2021, 4:02pm UTC](https://community.sitejet.io/t/whitelabel-logo-width-solution/279/8 "2021-07-07T16:02:04Z")

</div>


