Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
2662 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Auteur Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
apr. 25
2644
2
sep. 21
7680
0
aug. 23
1328
2
sep. 21
10315
3
dec. 23
18227