Control CSS based on user's logged in state

I’m trying to add a link to our site’s menubar, next to the search icon.

It’s positioned correctly when a user’s signed in but overlaps the login / signup buttons if someone’s not signed in.

Is it possible to set the CSS / html to only be displayed for people who have signed in?

This does not answer the question in the title, but have you seen the theme component?

3 Likes

No, thanks a lot, I guess that’ll do the job for me :grinning:

Edit - it did.

1 Like