Change Header Height

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

It is currently not possible.
The header & footer size is fixed and can’t be changed by Crovid.
You can choose a layout without the header, and put a strip instead.