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
Accepted answer

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 Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,190 views 4 6
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