Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
2660 มุมมอง

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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





อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
เม.ย. 25
2641
2
ก.ย. 21
7679
0
ส.ค. 23
1328
2
ก.ย. 21
10315
How To Delete a Custom Dashboard? แก้ไขแล้ว
3
ธ.ค. 23
18227