Question:
How can I hide the header/footer on a specific page?
Product:
Wix Studio
I know the solution for Wix Editor (Page, Settings, …). But how does it work with Wix Studio?
Question:
How can I hide the header/footer on a specific page?
Product:
Wix Studio
I know the solution for Wix Editor (Page, Settings, …). But how does it work with Wix Studio?
What is your solution for ordinary Wix-Editor?
Wix Editor: Hiding the header and footer
But for Wix Studio? Step 6 is not existing anymore.
Try this one, very old but maybe still working…
CODE
$w.onReady(function () {});
export function button1_click(event) {hide_Header()}
function hide_Header() {$w("#header1").children.forEach((item, i) => {item.collapse();})}
function show_Header() {$w("#header1").children.forEach((item, i) => {item.expand();})}
export function button2_click2(event) {show_Header()}
You will find the example here…
https://russian-dima.wixsite.com/meinewebsite/header
Or the better version…
$w.onReady(()=> {
$w('#button1').onClick(()=>{
hide_Header();
});
$w('#button2').onClick(()=>{
show_Header();
});
});
function hide_Header() {
$w("#header1").children.forEach((item, i) => {
item.collapse();
});
}
function show_Header() {
$w("#header1").children.forEach((item, i) => {
item.expand();
});
}
Yes, I realized that already by collapse the section on the specific site. Thanks for your support.