// Add to your theme's JavaScript file or Elementor custom code document.addEventListener('DOMContentLoaded', function() { // Fix for double-tap issues const menuItems = document.querySelectorAll('.elementor-nav-menu--dropdown .elementor-item'); menuItems.forEach(item => { item.addEventListener('touchend', function(e) { if (!this.classList.contains('has-submenu')) { e.preventDefault(); this.click(); } }); }); // Fix for Gravity Forms iOS submission if (typeof gform !== 'undefined') { jQuery(document).on('gform_post_render', function() { // Prevent zoom on iOS const inputs = document.querySelectorAll('.gform_wrapper input, .gform_wrapper select, .gform_wrapper textarea'); inputs.forEach(input => { input.style.fontSize = '16px'; }); }); } }); /* General iOS touch improvements */ * { -webkit-tap-highlight-color: transparent; touch-action: manipulation; } /* Navigation fixes */ .elementor-nav-menu--dropdown { position: absolute; z-index: 99999; width: 100%; -webkit-overflow-scrolling: touch; max-height: 85vh; } /* Gravity Forms iOS fixes */ .gform_wrapper { -webkit-transform: translateZ(0); -webkit-perspective: 1000; -webkit-backface-visibility: hidden; } .gform_wrapper input[type="text"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper textarea, .gform_wrapper select { -webkit-appearance: none; border-radius: 0; font-size: 16px !important; /* Prevents iOS zoom on focus */ } /* Fix for iOS form submission issues */ .gform_wrapper form { position: relative; width: 100%; } /* Improve touch targets */ .gform_wrapper .gfield input, .gform_wrapper .gfield select, .gform_wrapper .gfield textarea, .elementor-nav-menu--dropdown .elementor-item { min-height: 44px; padding: 10px 12px; } /* Fix iOS scrolling within forms */ .gform_wrapper { -webkit-overflow-scrolling: touch; max-width: 100%; overflow-x: hidden; } /* Fix for iOS keyboard issues */ .gform_wrapper .gfield { transform: translateZ(0); }
Skip to content
The PureRx
Click play to listen...