Opens in a new tab
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);
});

Last modified on Friday, May 10 2024, 7.00pm

Opens

Open all year round
ClosedClosedOpens at 08:30

Opening hours

Monday08:30 – 13:30, 16:00 – 19:00
Tuesday08:30 – 13:30, 16:00 – 19:00
Wednesday08:30 – 13:30, 16:00 – 19:00
Thursday08:30 – 13:30, 16:00 – 19:00
Friday08:30 – 13:30, 16:00 – 19:00
Saturday08:30 – 13:30
SundayClosed

Contact information

07817 San Jorge de ses Salines, Illes Balears

You might be interested