tuanphan Posted July 19 Share Posted July 19 If you can't make it work, you can share site url, I can help easier. #1. First, you need to edit Site Footer #2. And add a Form Block #3. Click Design > Enable Lightbox #4. Highlight text > Click Link icon > Add link: #contact #5. Use this code to Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function(){ $('[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