I'm having difficulty figuring out where I can put this code snippet so that when users are logged in they see a different menu. Given the complexity of Pagelines, I can't seem to find the appropriate space. I do have the pagelines customization plugin enabled if there is a function I can throw in there that will do it. Basically I have one more item on the Primary Menu I want to display to users that are logged in.
Different Menu for Logged in Users
Started by
mrjarbenne
, Feb 02 2012 05:30 AM
3 replies to this topic
#1
Posted 02 February 2012 - 05:30 AM
#2
Posted 02 February 2012 - 07:59 AM
You can identify a user that is logged in by this CSS class:
body.logged-in
#3
Posted 02 February 2012 - 08:36 AM
There is also a pseudo negation class, buy don't think that works for IE8 and older.
body:not(.logged-in)
#4
Posted 03 February 2012 - 09:25 AM
Hi,
I did some research for you and found this plug-in, I haven't tried it personally but its worth a try.










