콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
2709 화면

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.

아바타
취소
관련 게시물 답글 화면 활동
3
4월 25
2881
2
9월 21
7762
0
8월 23
1395
2
9월 21
10374
3
12월 23
18340