# Banner-Thema auf der Startseite und nur für anonyme Benutzer

**URL:** https://meta.discourse.org/t/banner-topic-on-home-page-and-only-for-anonymous-users/80959
**Category:** Support
**Created:** [19. Februar 2018 um 19:11 UTC](https://meta.discourse.org/t/banner-topic-on-home-page-and-only-for-anonymous-users/80959 "2018-02-19T19:11:20Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [20. Februar 2018 um 18:52 UTC](https://meta.discourse.org/t/banner-topic-on-home-page-and-only-for-anonymous-users/80959/5 "2018-02-20T18:52:18Z")

</div>

So for example, in your customizations if you add HTML content (Admin \> Customize \> Themes \> Edit HTML/CSS \> Header/After Header/Footer):

```HTML
<div class="anon-content">
    <p>This is test content</p>
</div>

```

You can then add this to your CSS so that content only shows for anon users:

```CSS
.anon-content { 
    display: none; 
}

.anon .anon-content {
    display: block;
}

```

If you wanted to go further and only show that content for anon users on the category page, you could use this CSS:

```CSS
.anon-content { 
    display: none; 
}

.anon .navigation-categories .anon-content {
    display: block;
}

```

---

_[View the full topic](https://meta.discourse.org/t/banner-topic-on-home-page-and-only-for-anonymous-users/80959)._
