This topic is locked
[SOLVED]

Hide "User profile" menu link

1/2/2023 5:05:04 AM
PHPRunner General questions
S
Sayed author

I added this code to common Javascript functions BUT its not hiding "User Profile" link.
$("li[data-itemid=userinfo_link]").hide();

It hides link if I add it in List Page > Javascript onload. How to hide link on all pages?

fhumanes 1/3/2023

Hello,

Enter this value in your "custom css":

li[data-itemid="userinfo_link"] {
display:none;
}

Regards,
fernando

S
Sayed author 1/6/2023

I want to hide User Profile link on whole project. Not on one page.
If i am not wrong, custom css is for individual pages.

admin 1/6/2023

Custom CSS is applied to all pages. You need to add it under Style Editor -> Custom CSS.

S
Sayed author 1/7/2023

Thanks, I got it.
Older version had Custom CSS button on Style Editor.
Version 10.8 has Modify CSS button.