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

Sidi Kaouki by campervan

A lot of van people end up in Sidi Kaouki after getting moved on by the police in Essaouira, which is probably the most difficult place in Morocco for free-camping in a van.

So, welcome to Sidi Kaouki by van. This place is always worth a stop. Let me show you…

Sidi Kaouki is here

map showing the rough location of Sidi Kaouki, Morocco

You’ll know when you’re here

POV view from campervan arriving to Sidi Kaouki

It’s a huge stretch of coastline

POV opening door onto beach in Sidi Kaouki

You can camp right here

campervan on beach at sunset with birds in the sky

With this view

Rough, rugged and wild

campervan on wild coastline of Sidi Kaouki in Morocco. Horse in foreground

Windy and stormy

abandoned building on Sidi Kaouki beach

Toilet, cafe, internet, surfboards provided

Sidi Kaouki surf shack

Choose a bumpy track

Driving straight onto Sidi Kaouki beach

To watch the fiery sunset

campervan at sunset with dramatic sky

Choose your animal

Or let them choose you 

Stay for days or weeks

old mercedes van on beach

Or years

Back in 2016 Sidi Kaouki was the place where my Morocco journey really kicked off. It was great to come back here and see that it’s still van-friendly.

Also see this post:

Sidi Kaouki beach on the west coast of Morocco – where I’ve been for 3 weeks

Comment below
Subscribe
Notify of
guest
1 Comment
Most Voted
Newest Oldest
Inline Feedbacks
View all comments