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

Morocco by van: The first two days 

We arrived in Morocco by van and drove south.

It’s just better in the south, especially in winter.

In this post I’ll share with you our first couple of days arriving in Morocco by campervan…

Not yet, keep driving

When night arrives, take a dirt road into… the unknown

After 490km… here

Morning; what is this place?

We’re in a valley

Surrounded by eucalyptus trees and animal sounds

Someone’s approaching 

It’s Abdoullah

We went to his house

Met his family

Tea and olives from the garden

Fresh bread from the clay oven

House swap … ?

Also see this post How to get to Morocco by van (2025) – in 6 simple steps

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