# New "Banner Topic" pin type

**URL:** https://meta.discourse.org/t/new-banner-topic-pin-type/16458
**Category:** Feature
**Tags:** rfc, spec
**Created:** [11 ביוני,‏ 2014,‏ 10:33pm UTC](https://meta.discourse.org/t/new-banner-topic-pin-type/16458 "2014-06-11T22:33:43Z")
**Posts on this page:** 13
**Page:** 2

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [4 באוגוסט,‏ 2014,‏ 8:41am UTC](https://meta.discourse.org/t/new-banner-topic-pin-type/16458/21 "2014-08-04T08:41:16Z")

</div>

> [@lightyear](#):
>
> category-based-banners

Is this planned? I would very much use category based banners.

---

<div class="post-metadata">

### Author: ![Rahul\_Dhingra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahul_dhingra/32/73226_2.png) [@Rahul\_Dhingra](https://meta.discourse.org/u/Rahul_Dhingra)
#### Post date: [4 באוגוסט,‏ 2014,‏ 11:36am UTC](https://meta.discourse.org/t/new-banner-topic-pin-type/16458/22 "2014-08-04T11:36:46Z")

</div>

@meglio you can use categories background images as banner:

 ![](https://global.discourse-cdn.com/meta/original/3X/1/1/117be7a9cd8be14dac015484766fff07ccf4a32f.jpg)

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [4 באוגוסט,‏ 2014,‏ 11:46am UTC](https://meta.discourse.org/t/new-banner-topic-pin-type/16458/23 "2014-08-04T11:46:30Z")

</div>

But then users wouldn’t be able to close such a banner, would they?

---

<div class="post-metadata">

### Author: ![Rahul\_Dhingra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahul_dhingra/32/73226_2.png) [@Rahul\_Dhingra](https://meta.discourse.org/u/Rahul_Dhingra)
#### Post date: [4 באוגוסט,‏ 2014,‏ 11:52am UTC](https://meta.discourse.org/t/new-banner-topic-pin-type/16458/24 "2014-08-04T11:52:54Z")

</div>

@meglio nope they are kinda Billboards. you can’t dismiss them.

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [4 באוגוסט,‏ 2014,‏ 12:24pm UTC](https://meta.discourse.org/t/new-banner-topic-pin-type/16458/25 "2014-08-04T12:24:27Z")

</div>

Then it doesn’t solve my issue )

---

<div class="post-metadata">

### Author: ![limeblast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/limeblast/32/31296_2.png) [@limeblast](https://meta.discourse.org/u/limeblast)
#### Post date: [29 באוגוסט,‏ 2014,‏ 12:47pm UTC](https://meta.discourse.org/t/new-banner-topic-pin-type/16458/30 "2014-08-29T12:47:16Z")

</div>

> [@zogstrip](#):
>
> Thanks for reporting that, I just pushed a fix

Cool, thank you… I hope you don’t mind, but I have one more tiny bit of feedback.

On a topic page, if you’re at the top of the page, the banner shows happily enough on a clear background, like so:

 ![](https://global.discourse-cdn.com/meta/original/3X/0/7/076c8e39d713bbb68d16cb5ecf9362a4bed0f2a5.jpg)

But as soon as you scroll even **1 pixel** down the page, everything suddenly _jumps_ up and the top of the post gets hidden behind the banner:

 ![](https://global.discourse-cdn.com/meta/original/3X/a/f/afbcf91ecd51f7105609cb2cf359c967ef7f41a4.jpg)

I know that this is a nit-pick, and that most people are never going to notice this (as I think most would just dismiss the banner once they’ve read it), but I noticed it, and I think others would too. So if instead of a sudden jump, as the banner goes from `position: relative` to `fixed`, I was thinking it might be good to keep an artificial margin at the top of the page, the same height as the banner, and have that be dismissed when the banner is dismissed?

Just an idea 😄

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [29 באוגוסט,‏ 2014,‏ 1:30pm UTC](https://meta.discourse.org/t/new-banner-topic-pin-type/16458/31 "2014-08-29T13:30:22Z")

</div>

I agree but this is complicated. If you can find a way that supports both topic and topic list pages, as well as custom header, I’ll be more than happy to merge it 😉

---

<div class="post-metadata">

### Author: ![limeblast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/limeblast/32/31296_2.png) [@limeblast](https://meta.discourse.org/u/limeblast)
#### Post date: [30 באוגוסט,‏ 2014,‏ 6:34pm UTC](https://meta.discourse.org/t/new-banner-topic-pin-type/16458/32 "2014-08-30T18:34:08Z")

</div>

I don’t know if I should start a new thread for this or something, but I’ve had this report from a user:

> FYI I’ve dismissed the welcome message on [http://talk.birmingham.io](http://talk.birmingham.io) several times now (on different machines) but was logged in

How is the dismissal handed? Is it based on a cookie, or is a record added to the user?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [30 באוגוסט,‏ 2014,‏ 8:40pm UTC](https://meta.discourse.org/t/new-banner-topic-pin-type/16458/33 "2014-08-30T20:40:39Z")

</div>

I have noticed weirdness with dismissal as anon before. Maybe @zogstrip can elaborate?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [30 באוגוסט,‏ 2014,‏ 8:59pm UTC](https://meta.discourse.org/t/new-banner-topic-pin-type/16458/34 "2014-08-30T20:59:07Z")

</div>

I may be wrong, but I believe if you edit the content of the post that is made a banner topic, it brings up the banner again for everyone and they have to dismiss it again. I’ve run into this a few times in our “staging” environment while our admins were trying to get the wording to be “what they wanted”

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [31 באוגוסט,‏ 2014,‏ 1:27am UTC](https://meta.discourse.org/t/new-banner-topic-pin-type/16458/35 "2014-08-31T01:27:23Z")

</div>

That is how it works right now. The key of the banner topic is based on the actual content of the post.

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [31 באוגוסט,‏ 2014,‏ 8:51am UTC](https://meta.discourse.org/t/new-banner-topic-pin-type/16458/36 "2014-08-31T08:51:31Z")

</div>

Yeah, that makes sense. It would be even better if redisplaying it after an edit was optional.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [3 באוקטובר,‏ 2014,‏ 7:00am UTC](https://meta.discourse.org/t/new-banner-topic-pin-type/16458/37 "2014-10-03T07:00:00Z")

</div>



[Previous page](https://meta.discourse.org/t/new-banner-topic-pin-type/16458.md?page=1)
