Custom Header Links

Oh wow! Thank you very much, you are genius :slight_smile:

1 Like

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)?

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

1 Like

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

There is a component with which you can add SVG icons: Custom Header Links (icons)

I think there is some discussion on using a custom icon here: Custom Header Links (icons) - #212 by icaria36

2 Likes

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

Something similar was reported a year ago in Custom Header Links refuses Matrix URL

Maybe the permalink workaround works for you too.

1 Like

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

1 Like

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? :slight_smile:

1 Like

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 :winking_face_with_tongue:

2 Likes

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

2 Likes