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);
});

VIDEO: driving to Norway in my van

I set off to Norway at the end of August, from the UK. Here’s a video:

Quite a few of you have asked for more videos. I often film just for fun, for me, and I have SO much unedited footage. But I really enjoy doing it. If you want to see more videos like this let me know in the comments
Thanks for sharing!
Comment below
guest
11 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments