Message for user II
-
I have returned to this query in a new ticket because apparently the first one was closed before I could write again.
How can I make a text appear exclusively for a specific user role?
The code that I was given to hide content was:
In your product:
<span class = “secretmessageforusers”> Blah blah blah </ span>In your CSS:
.secretmessageforusers {display: none;}
.logged-in .secretmessageforusers {display: block;}But I’ve noticed that currently any user who logs in can see the text, but what I want is that the text can only be seen by the “Partner” users.
It’s possible?
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Message for user II’ is closed to new replies.