Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
3077 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
3
Apr 25
4537
2
Sep 21
8277
0
Agu 23
1777
2
Sep 21
10852
3
Des 23
18904