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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

680 views 21 12
Join discussion

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