Add menu with icon in front of it and add code for pop up lightbox

Hello There,

The book now menu item is already launching the lightbox with the selection to choose the location.
This is what I am seeing:

You may have resolved the issue already. Please let us know.

Hi X team,

Yes you are right the book now menu item is launching the lightbox with the selection to choose the location now.

But I don’t really understand how and why. Like I said in my previous post I didn’t change anything on your instructions. I only removed other trials.

Hello There,

The key factor for your lightbox content is the code you have added in the child theme’s functions.php file

add_action( 'wp_head', 'x_print_custom_script' );
function x_print_custom_script(){
  ?>
  <script src="https://sunfitbeautycaremain.salonware.nl/start.php"></script>
  <?php
}

If you change the source file, then the content of the lightbox will also change. The JS script you have added in Theme Option is only for the menu item event listener.

Hope this explain it briefly.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.