# Custom Header Links

**URL:** https://meta.discourse.org/t/custom-header-links/90588
**Category:** Theme component
**Tags:** official, custom-header-links
**Created:** [June 24, 2018, 10:22am UTC](https://meta.discourse.org/t/custom-header-links/90588 "2018-06-24T10:22:32Z")
**Posts on this page:** 11
**Page:** 4

<div class="post-metadata">

### Author: ![sallypf](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@sallypf](https://meta.discourse.org/u/sallypf)
#### Post date: [June 3, 2025, 3:22pm UTC](https://meta.discourse.org/t/custom-header-links/90588/211 "2025-06-03T15:22:12Z")

</div>

> [@Moin](#):
>
> You can use `/my` instead of `/u/USERNAME`

Oh wow! Thank you very much, you are genius 🙂

---

<div class="post-metadata">

### Author: ![sallypf](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@sallypf](https://meta.discourse.org/u/sallypf)
#### Post date: [June 3, 2025, 3:26pm UTC](https://meta.discourse.org/t/custom-header-links/90588/212 "2025-06-03T15:26:15Z")

</div>

Ok so that solved one part of my requirement. I’ve added link.  
How do I hide Messages link from guest users (not logged-in)?

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [June 3, 2025, 3:27pm UTC](https://meta.discourse.org/t/custom-header-links/90588/213 "2025-06-03T15:27:20Z")

</div>

With css as I suggested before?

You can decide to not display things based on the user being a visitor

* * *

Edit:  
Looks like you were successful

> [@Hide Custom Header Links from anon](https://meta.discourse.org/t/hide-custom-header-links-from-anon/277626/5):
>
> Thanks, helped me slight_smile

---

<div class="post-metadata">

### Author: ![Chicken47](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chicken47/32/518930_2.png) [@Chicken47](https://meta.discourse.org/u/Chicken47)
#### Post date: [July 5, 2025, 4:51am UTC](https://meta.discourse.org/t/custom-header-links/90588/214 "2025-07-05T04:51:46Z")

</div>

Is there a way to show png images (as links) instead of text links ?

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [July 9, 2025, 4:53pm UTC](https://meta.discourse.org/t/custom-header-links/90588/215 "2025-07-09T16:53:35Z")

</div>

There is a component with which you can add SVG icons: [Custom Header Links (icons)](https://meta.discourse.org/t/custom-header-links-icons/86307)

I think there is some discussion on using a custom icon here: [Custom Header Links (icons) - #212 by icaria36](https://meta.discourse.org/t/custom-header-links-icons/86307/212)

---

<div class="post-metadata">

### Author: ![raghukamath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/raghukamath/32/160330_2.png) [@raghukamath](https://meta.discourse.org/u/raghukamath)
#### Post date: [February 28, 2026, 2:26pm UTC](https://meta.discourse.org/t/custom-header-links/90588/218 "2026-02-28T14:26:05Z")

</div>

For some reason I am getting an error while trying to update the theme component

 ![Screenshot_20260228_195355](https://global.discourse-cdn.com/meta/original/4X/8/b/8/8b8c645750bf8958dac6aceb2087b5949a78b1d5.png)

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [February 28, 2026, 4:01pm UTC](https://meta.discourse.org/t/custom-header-links/90588/219 "2026-02-28T16:01:09Z")

</div>

Something similar was reported a year ago in [Custom Header Links refuses Matrix URL](https://meta.discourse.org/t/custom-header-links-refuses-matrix-url/352433)

Maybe the permalink workaround works for you too.

---

<div class="post-metadata">

### Author: ![raghukamath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/raghukamath/32/160330_2.png) [@raghukamath](https://meta.discourse.org/u/raghukamath)
#### Post date: [February 28, 2026, 4:21pm UTC](https://meta.discourse.org/t/custom-header-links/90588/220 "2026-02-28T16:21:10Z")

</div>

Thanks that solved the issue. I did search but could not figure out it was due to matrix url. Thank you

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [June 5, 2026, 2:53pm UTC](https://meta.discourse.org/t/custom-header-links/90588/221 "2026-06-05T14:53:15Z")

</div>

Is it common practice to treat tablet devices like desktops rather than mobile?

I’m just looking for the best approach to get automatic content hiding on tablets as well (for using the search bar in Horizon).

Perhaps a new toggle would fit a probably common use case? 🙂

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [June 5, 2026, 4:28pm UTC](https://meta.discourse.org/t/custom-header-links/90588/222 "2026-06-05T16:28:17Z")

</div>

It is quite common. But out there is some devs, specially in app-world, who are treating tablets as phones. In the Hell is one purpose made hole for those guys 😜

---

<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: [June 6, 2026, 12:19am UTC](https://meta.discourse.org/t/custom-header-links/90588/223 "2026-06-06T00:19:44Z")

</div>

depends on how big the tablet is and which way you’re holding it!

[Previous page](https://meta.discourse.org/t/custom-header-links/90588.md?page=3)
