Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] How to hide a div tag after logging in

3 Posts
2 Users
1 Reactions
417 Views
Posts: 8
Topic starter
(@furkangunes04)
Active Member
Joined: 1 year ago

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
Tutrix
Posts: 1522
(@tutrix)
Noble Member
Joined: 5 years ago

Hi @furkangunes04 

Posted by: @furkangunes04

What CSS rule should I use?

.logged-in xxxxxxxxxx {
 display: none !important;
}

replace the xxxxxxxxxx with the id / class of your div

Reply
Posts: 8
Topic starter
(@furkangunes04)
Active Member
Joined: 1 year ago

Thank you, worked!

Reply