Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2671 Widoki

Hello! Our company is currently using Odoo 15 (we hope to upgrade to 17 to utilize the Landing Pages feature). In the meantime, I would need to know how I can hide the menu, header, and footer for a single page of the website. This could be through a plugin, system configuration, or code. Thank you very much.

Awatar
Odrzuć
Najlepsza odpowiedź

Hay,

you can set the display to none by adding the following code in the desired page inside website layout in a script tag :


window.onload = function(){
document.getElementById('top').style.display = "none";
document.getElementById('footer').style.display = "none";
};





Awatar
Odrzuć
Autor Najlepsza odpowiedź

Thank you very much for your reply. It worked well for us, the elements are no longer displayed when we finish loading the website.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
kwi 25
2681
2
wrz 21
7696
0
sie 23
1333
2
wrz 21
10326
3
gru 23
18234