Tagged: menu
Hey dear support,
i´ve got a question, and i couldn’t find a solution yet.
I use a Submenu für Registration and Login für customers. On the index-page it already has a dropdown, but thats not neccessacry for customers, who are not logged in. How can I Change it?
The dropdown (or diffenrent menu) should only be shown after the log in. how can i fix it?
thanks!
kind regards, christian
Hi mynoxin!
Please go to Appearance > Menus and click “Screen options” on the top right corner and check “CSS classes” and then edit your menu item and insert “only-logged-out” class to menu items that you would like to hide for logged in users and then add following code to Quick CSS in Enfold theme options under General Styling tab
.logged-in .only-logged-out { display: none !important; }
Cheers!
Yigit
yes, it helps, thanks.
and how does it work vice versa?
css class: only-logged-in
custom css: .logged-out .only-logged-in { display: none !important; }
?
thanks ;D
Hi!
You can use the code as following
.only-logged-in { display: none; }
.logged-in .only-logged-in { display: block !important; }
Best regards,
Yigit
You´re my hero!
thanks!