Hi, I have a link to a Vimeo rental I am trying to put up. You can access it here under “rent it here”: http://www.wayofthegun.us/store/
Issue is, it tries to load in some kind of lightbox but will not load. How should I fix this?
Hi solidman!
Structure the link like this:
<a class="noLightbox" href="http://www.youtube.com/">Youtube</a>
The noLightbox class will prevent it from being picked up by the auto lightbox script.
Best regards,
Devin
I am using the Button drop in in the builder; any way to use that with this link structure?
Hi!
It isn’t loading any lightbox on my end, it is working as a direct link.
Best regards,
Josue
It is now because I stopped using the button and just hyperlinked the text. How would I use the button without a lightbox?
Is there a way to use the buttons without having the lightbox show?
Hi!
You can edit config-templatebuilder > aviashortcodes > button.php, find this code on line 226:
$output .= "<a href='{$link}' class='avia-button ".$this->class_by_arguments('icon_select, color, size, position' , $atts, true)."' {$blank} {$style} >";
Replace it with:
$output .= "<a chref='{$link}' class='noLightbox avia-button ".$this->class_by_arguments('icon_select, color, size, position' , $atts, true)."' {$blank} {$style} >";
Remove browser cache then reload the page.
Cheers!
Ismael