Discourse Meta
How to hide a button (SVG icon) if user is logged in?
Dev
omarfilip
April 5, 2024, 12:02am
2
You could use the
.anon
class and do it similar to this:
2 Likes
show post in topic
Related Topics
Topic
Replies
Views
Activity
Add button in header for logged in users
Dev
5
713
September 25, 2023
Hide Custom Header Links from anon
Dev
custom-header-links
3
304
March 29, 2020
Display Header HTML to only Logged in Users
Support
13
4099
May 10, 2019
Add a link to user profile in the navigation
Support
8
501
March 29, 2024
How to show a piece of content to *only* non-logged in users
Support
2
490
February 8, 2023