Opens in a new tab
  // Open Popup ID 1058 if any element with .header--nav__button
document.querySelectorAll('.header-nav-button').forEach( (el) => {
	el.addEventListener('click', () => {
		bricksOpenPopup(XXX)
	})
})
document.querySelectorAll('.header-nav--parent').forEach(li => {
  const toggle = li.querySelector('.brx-submenu-toggle');
  if (!toggle) return;

  const a = toggle.querySelector('a');
  const button = toggle.querySelector('button');
  if (!a || !button) return;

  // Move the label text into the button (prepend before the SVG)
  const labelText = document.createTextNode(a.textContent);
  button.prepend(labelText);

  // Remove the <a> tag
  a.remove();
});

Articles by Paul Weeks

Would you like more detail on how we could add value to your employee benefit proposition?

Contact Us

Get in Touch

Footer Contact Form

We will use the personal information you provide through this form to respond to your enquiry. We will handle your information in accordance with UK data protection law and our Privacy Statement.

Please refer to our Privacy Statement to see how we use your personal information.