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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
2
回覆
2688
瀏覽次數
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.
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
3
4月 25
|
2770 | ||
|
2
9月 21
|
7720 | ||
|
0
8月 23
|
1354 | ||
|
2
9月 21
|
10348 | ||
|
3
12月 23
|
18264 |