Hi, sorry I can’t see your reply for some reason. Anyway sorry for messing you around, I clearly did not understand what ‘Elements’ Velo targets when I posted originally. Now I understand things better and realise that I was trying to target a html element which Velo cannot do.
Obviously I need to place my javascript using the Custom Code option. however I’m not sure how to get the logged in status of a user. This line from my code above:
import{ authentication } from'wix-members';
Does not work in custom code, so I guess my question now is how to access the ‘wix-members’ module data using a Custom Code script? Is it even possible?