Don't show the global logo on the login page

Chris Tybur November 17, 2011

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
Chris Tybur November 17, 2011

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
TAGS
AUG Leaders

Atlassian Community Events