Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
2763 Visualizzazioni

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.

Avatar
Abbandona
Risposta migliore

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";
};





Avatar
Abbandona
Autore Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
apr 25
3229
2
set 21
7887
0
ago 23
1484
2
set 21
10478
3
dic 23
18446