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

Imprint

Legal Notice
Information according to § 5 TMG:

VALE Vanessa Kohler & Leon Oskui GbR
Geyerstr. 9 / RGB 80469 Munich Germany
Email: valeforma.atelier@gmail.com

VAT
VAT ID: (to be added once available)

Liability for Content
The contents of our pages have been created with great care. However, we cannot guarantee the accuracy, completeness, or timeliness of the content.

Liability for Links
Our website may contain links to external websites. We have no influence over the content of these websites and therefore cannot assume any liability for them.

Copyright
The content and works on this website are subject to German copyright law. Duplication, processing, distribution, or any form of commercialization beyond the scope of copyright law requires prior written consent.

Search

Find what you’re looking for!

    X