function updateHeaderHeight() {
        // Get the height of #brx-header
        const headerHeight = document.querySelector('#brx-header').offsetHeight;
          
        // Store the height in the CSS custom property --header-height
        document.documentElement.style.setProperty('--brxw-header-height', headerHeight + 'px');
    }

    // Execute the function as soon as the document is ready
    document.addEventListener('DOMContentLoaded', function() {
        updateHeaderHeight();  // Initial update of header height when the document is ready

        // Update the header height on window resize and orientation change
        window.addEventListener('resize', updateHeaderHeight);
        window.addEventListener('orientationchange', updateHeaderHeight);
});

Insuring your DIY motorhome or campervan

Mike Hudson โ€“ author of this post

For a DIY motorhome or campervan, you can either get specialist motorhome insurance or just normal van insurance.

Specialist motorhome insurance

Here are a list of companies who offer insurance for DIY van conversions. Most of these companies will insure your vehicle whilst it is still in the process of conversion. You often get up to 90 days to provide proof of conversion, but you’ll have to check with each provider because these rules may slightly vary.

Shield total insurance

Campton

Insurance choice

Clubcare insurance

Comfort Insurance

Adrian Flux

Sagaย โ€“ offer very good cover but only for +50s

Alternatively if you want to save time you can go toย motorhome insurance from Quotezone and they will get multiple quotes from the best motorhome insurers. This is what I did and I got some great quotes but they will only insure over 25s and at the time I wasn’t old enough. I’ll use this next time around though because that’s where I got the cheapest quotes.

Thanks for sharing!
Comment below
guest
13 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments