Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1830925
Open youtube video in a lightbox from Go button
Closed

Comments

  • ychen415 started the conversation

    Hi,

    I want to play a YouTube video inside a lightbox/fancybox when the Go Button is hit. How do I achieve it?

  •  6,933
    Oliver replied

    Hi,

    To the row html shortcode add this code:<a class="fancybox" href="#link"> Link </a> <div id="link">[Shortcode]</div>[Shortcode] - here you can put youtube iframe code.

    And add this css to the custom css field on the page: #link {display: none}https://codex-themes.com/thegem/documentation/css 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver