隐藏品牌头仍然留下空白空间?

Thank you for this great component!

I don’t want it to show to non logged in users so I have added this in the CSS of the component:

.b-header {
  display: block;
}

.anon .b-header {
  display: none;
} 

It works but it still takes space here:

Do you know what I should do?

2 个赞

Add the below CSS to remove the blank space.

.anon .ember-application .d-header {
  margin-top: 0;
}
5 个赞

Wow thank you sooooo much Vinoth!! It looks great! Tada!

3 个赞

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.