Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
2643 Представления

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
2616
2
сент. 21
7657
0
авг. 23
1312
2
сент. 21
10300
3
дек. 23
18208