Add a frontend style scoped to pages containing the custom TNCSC header. This complements template overrides and also covers website-editor copies while preserving standard navigation on other pages. Validated by injecting the compiled CSS into the live homepage at desktop and mobile widths, checking custom mobile menu expansion, and confirming an ordinary page retains its default header. SCSS compilation and manifest checks passed.
7 lines
307 B
SCSS
7 lines
307 B
SCSS
// Website editor copies can bypass the original page template overrides.
|
|
// Match the rendered TNCSC header so those pages also have one navigation bar.
|
|
// Pages without custom navigation keep the standard Odoo header.
|
|
#wrapwrap:has(> main .tncsc-top-header) > header#top {
|
|
display: none !important;
|
|
}
|