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);
});
Payment Timing
We handle all the technical heavy lifting so you can focus on your business. Here is what happens next :
We are here for your at every step of your journey. Whether you are just getitng started, need a technical adjustment down the line, or have any other questions at all, please feel free to email us anytime, anywhere and fo ranything at support@ukict.co.uk. Our IT tema is always ready to assists!