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

This widget could not be displayed.

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
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

496 views 7 6
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