tuanphan Posted August 13 Share Posted August 13 Description: Click button on Header will open a Form Block in Lightbox. If you can't make it work, you can send link to your site, I will check it again. #1. First, you need to edit Site Footer #2. Add a Form Block #3. Click Design > Enable Lightbox Click Content > Edit Form Fields You can place any fields that you want. and remember to enter your email in Storage > Notification #4. Edit Header Button > Enter URL #contact Make sure the option “Open link in new tab” is disabled #5. Use this code to the Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function(){ $('header#header [href*="#contact"]').on("click", function(event){ event.preventDefault(); $('button.lightbox-handle')[0].click(); }) }) </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment