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

Thanks for sharing – vandog went worldwide!

Mike Hudson – author of this post

You probably already know that one of my missions whilst I’m travelling around is to make this blog actually work. I want to make it good!

I think I should share with you, from time time, how things are going with it. So that’s what this post is. I also want to thank you for reading, sharing and commenting. It’s so cool!

Two weeks into 2015 – full power

christian-fold-up-travel-guitar
Some stats for Vandogtraveller from the first two weeks of 2015

I have been finding it difficult to keep up with all your messages. Thank you everyone for your support. It’s really encouraging.

So what happened?…

Vandogtraveller was featured on a website (here), it got shared, shared again and this whole snowball effect happened. Within a few days it was featured on some news sites, from China to England.

There are interview requests, live radio shows and even a feature in an upcoming book on nomad living.

Some stats – The last 2 weeks:

  • + 5000 facebook page likes
  • Quarter of a million pageviews
  • + 1000 new subscribers

And here’s the problem now

There is too much traffic for the server to cope!

I need you off my server ASAP I’m afraid, I can’t put up with this any more

It means a lot to me that people are enjoying this blog and getting something out of it. I just never planned for this amount of traffic. Please get in touch if you can help or have any suggestions.

This blog is a fair amount of hard work, but I love doing it, and there’s loads more to come (yeah subscribe). And if you see an error when trying to access the site, I didn’t get bored and close the blog, it’s just overloaded.

As always, I love to hear any feedback, requests etc. to help me make this blog better

From van to home

Build a Van you'll Be Proud of

Everything you need to build your dream campervan — electrics, insulation, joinery, design and more.

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