Hide "Sign in" Button in Odoo 17 Website

Read how to remove the Sign in button from a website's header

Odoo Website is a powerful tool for creating and managing websites, including the development of landing pages. Landing pages are crucial for digital marketing, allowing you to capture visitors' attention and focus them on specific products, services, or offers. With Odoo Website, you can easily create attractive and effective landing pages without needing deep programming knowledge.

But sometimes for Landing Pages, there is a need to remove the Sign In button from the header menu because we do not plan to register or provide access to the website to our customers.

Sign In Button

This button opens the Login page /web/login for Users to access the internal system or for Customers to access the Portal

Earlier Versions Odoo 16, Odoo 15

For Odoo of earlier versions

You could easily find a solution like 

Edit the webpage, select the menu section (the one that has the Sign In link) and on the right turn off the "Show Sign In" option

However, in Odoo 17, the Navbar settings are not available, and the option to disable this button is not present in the Editor. Therefore, we suggest an alternative method to hide the "Sign In" button.

We will use the HTML/CSS Editor, which we have previously utilized to integrate LiveChat from another Odoo server and to connect third-party JavaScript.

1. Go to Website module ​and click on the HTML / CSS Editor in Site menu


2. Choose Edit HTML anyway


3. In Search bar type "sign in" and pick "- User Sign In"


4. Delete or comment out the <li> tag using ctrl+/. Save the changes to apply them.

The "Sign In" button is now disabled.

You can always access the login page directly by navigating to a URL like
https://kodershop-erp.com/web/login

We hope you found this information useful. ​ 

If you need help with customizing the Website module, please write to us in our LiveChat.
For technical questions, ask it in our LiveChat and specify your email so we can prepare an answer and send it for you..

Odoo 17: Attrs and States Simplification