I am currently trying to inherit a template that resides in my customer website theme.
The template is defined as such:
<template id="template_header_custom" inherit_id="website.layout" name="Template Header custom" active="True">
<xpath expr="//header//nav" position="replace">
<nav data-name="Navbar" class="navbar navbar-expand-lg navbar-light flex-lg-column o_colored_level o_cc py-0">
new nav code...
</nav>
</xpath>
</template>
<template id="template_header_custom_prod_cat" inherit_id="theme_walker_rubber.template_header_custom" name="Template Header custom Prod Cat">
<xpath expr="//nav" position="after">
</xpath>
</template>
Using Odoo v14.
Please format the code with proper line breaks for better reading.
It had proper formatting at time of completion, ill try fix it