Hello,
How can we hide the Login?
Please see below:
I found this thread, and this is exactly i’d like to do to hide LOGIN menu on nav bar.
How could i do it properly? Will it be removed when doing bench update?
Thanks a lot.
Yes, bench update will overwrite this. You can set a landing page in the website settings instead /desk#Form/Website Settings
I also need this, but only hidden when the user is logged out
You can create a new theme in Website Themes, and there you can insert CSS to hide certain parts of the frontend.
const loginButton = $('.btn-login-area');
if (loginButton.html() === 'Login') {
loginButton.hide();
}
Add this to website script
Perfect!! Thank you so much
https://github.com/frappe/frappe/commit/7721d540167d30f76308a2bc557afb29f021b33a
No need of script anymore. Currently available on develop branch.
Thanks
Does Anyone get it work with Safari?
Thanks.