I would like to have a smaller header with fewer items on some pages.
I can hide the items:
if (wixWindow.formFactor === "Mobile") {
$w("#btnHdrBuyNow").hide();
$w("#hdrGallery").hide();
} else {
$w("#btnHdrBuyNow").show();
$w("#hdrGallery").show();
}
But I would also like to add if hiding something like this:
$w("header1").height = 333;
Height isn’t a property, is there some way to do this?
Thanks,
Rob