May I please ask you how I can add a button via a shortcode and have that button link to a YouTube video that opens in a lightbox? I tried to add rel=”prettyphoto” and rel=”lightbox” but those don’t seem to work.
Lightbox is not working on avia button shortcode but you can imitate the button shortcode with this code.
<a href="http://youtu.be/GZVKnsWwtT8" class="avia-button light custom large" style="background-color:#cc0000;border-color:#000000" rel="lightbox"><span class="avia-download">Youtube</span></a>
Just change the background color and border.
class="avia-button light custom large"
The line above means a large button with white font.
This line will include a “download icon” beside the font. There are several icons that you can choose. If you don’t want any icon just replace avia-download with avia.
The topic ‘Using Button Shortcode to Open a Video in a Lightbox’ is closed to new replies.