VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: big2000 on April 18, 2015, 17:29:41 PM

Title: Using fancybox in product detail products photos and in add to cart button
Post by: big2000 on April 18, 2015, 17:29:41 PM
Hello I have problem using fancybox in product photos and in add to cart button. I see arrows in photos and in modal add to cart. Arrows overlays continue links. Thanks in advance for any help. VirtueMart 3.0.7.4
Title: Re: Using fancybox in product detail products photos and in add to cart button
Post by: jenkinhill on April 18, 2015, 19:19:27 PM
Looks OK to me with Firefox 37.0.1

http://forum.virtuemart.net/index.php?topic=128401.0
Title: Re: Using fancybox in product detail products photos and in add to cart button
Post by: big2000 on April 18, 2015, 20:03:35 PM
Hi, please click cart icon (http://www.sklep-getlucky.pl/images/ATC.png) and try to choose continue link in Polish: "Pokaż koszyk". Next arrow in on top of it. VirtueMart 3.0.7.4
Title: Re: Using fancybox in product detail products photos and in add to cart button
Post by: big2000 on April 24, 2015, 20:41:35 PM
If anyone will have same problem you can use this code in your index.php:
jQuery(document).ajaxComplete(function(){
    if(jQuery('.continue_link').length != 0) {
        jQuery('#fancybox-left').css('z-index', 1);
      jQuery('#fancybox-right').css('z-index', 1);
    }
});