Viewing 4 posts - 1 through 4 (of 4 total) Author Posts July 28, 2012 at 5:46 pm #14816 peezarParticipant Hi there, 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. Thanks much, Peter July 29, 2012 at 12:44 am #84986 IsmaelModerator Hello, 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. <span class="avia-download">Youtube</span></a> 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. Regards, Ismael July 31, 2012 at 12:19 am #84987 peezarParticipant It worked like a charm, thanks so much Ismael :-) August 1, 2012 at 11:19 am #84988 IsmaelModerator Hey peezar, Glad that I could help. :) Cheers, Ismael Author Posts Viewing 4 posts - 1 through 4 (of 4 total) The topic ‘Using Button Shortcode to Open a Video in a Lightbox’ is closed to new replies.