![]()
![]()
hover-tabs
Add this in:
<script>
document.addEventListener('DOMContentLoaded', function() {
const tabWrappers = document.querySelectorAll('.hover-tabs');
tabWrappers.forEach(wrapper => {
const tabTitles = wrapper.querySelectorAll('.e-n-tab-title');
tabTitles.forEach(tab => {
tab.addEventListener('mouseenter', function() {
this.click();
});
});
});
});
</script>
Sometimes Elementor adds transition delay. If it feels laggy, add this CSS:
.hover-tabs .elementor-tab-content {
transition: all 0.2s ease-in-out;
}
Hover tabs are great for:
But they’re NOT great for mobile (no hover on touch).
This script keeps click functionality on mobile automatically — so you’re safe.