When you install the basic Odoo theme you will have a default Odoo header that has a navigation menu with the company logo. We can create an XML file that will extend the theme. Begin by creating a file named Layout.xml and placing it inside the views folder.
<odoo> <data> <template id="custom_header" inherit_id="website.layout" name="custom Header"> <xpath expr="//div[@id='wrapwrap']/header" position="attributes"> <attribute name="id">custom_message</attribute> </xpath> <xpath expr="//div[@id='wrapwrap']/header/div" position="after"> <div class="container"> <div class="alert alert-info mt16" role="alert"> <strong>Welcome to Silkworm! </strong> </div> </div> </xpath> </template> </data></odoo>
You ...