How-to and Troubleshooting
3
Posts
2
Users
1
Reactions
240
Views
Apr 16, 2024 6:57 pm
I created Sign Up & Log In buttons within a div tag on my website. I want to hide the div tag containing these buttons if the user is logged in. How can I do this? What CSS rule should I use?
2 Replies
Apr 17, 2024 3:48 am
What CSS rule should I use?
.logged-in xxxxxxxxxx { display: none !important; }
replace the xxxxxxxxxx with the id / class of your div
Apr 20, 2024 7:21 am
Thank you, worked!