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

Sant Joan de Labritja

Sant Joan de Labritja exudes a serene and unspoiled charm, distinct from Ibiza's more bustling areas. This picturesque locale, nestled amidst lush hills and rural landscapes, boasts a rich historical tapestry, evident in its traditional white-washed church and ancient architecture. The village's tranquil atmosphere, combined with its local markets and authentic Ibizan restaurants, offers a glimpse into the island's more laid-back and culturally rich side, making it a haven for those seeking a peaceful retreat.