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);
});
To find out what’s new in the world of restaurants in Ibiza, the trends of the most avant-garde cuisines and the food experiences of a lifetime, there’s no better way than getting your hands on the Gastronomy and Restaurant Special, published by Diario de todayu Saturday 31st July. The supplement is free and is delivered together with the copy of Diario de Ibiza.Gastronomy and Catering Special, free today with Diario de Ibiza | D.I. This summer’s Gastronomy and Catering Special brings together in its 64 full colour pages and on high quality paper, the most complete information about the restaurants of Ibiza, current affairs, as well as interviews with the leading chefs, restaurateurs and experts on the national and local scene.Special of Gastronomy and Restoration, free today with Diario de Ibiza | D.I.Joxe Mari Aizega, general director of the Basque Culinari Center; Dani García, in charge of BiBo at Nobu Ibiza Bay; Mark Vaessen, executive chef of the restaurant Oku, or the gastronomic director of Cova Santa, Xavi Alba, share space with reports on the gastronomic offering and the list of essential restaurants on the island.