Don't show the global logo on the login page

I've installed a custom global logo on my wiki that works fine. However, I'd like it to not show on the login page. I have a second custom logo, different from the first, that I would like on the login page instead. I've figured out how to do this by modifying login.vm and adding some CSS to hide the main-header div. The problem is the logo is then hidden on all pages, even though I added the CSS to login.css. I assumed login.css would only be included on the login page.

Is there a better way to not show the global logo on the login page?

1 answer

1 accepted

1 vote
Answer accepted

I figured this out. I had originally tried adding a <style> tag to login.vm with a CSS rule for hiding the global logo, but I was putting it in the <head> tag and it wasn't being picked up. Moving it to the <body> tag worked, in IE 8, FF 3.6, and Chrome.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

720 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you