Using fancybox in product detail products photos and in add to cart button

Started by big2000, April 18, 2015, 17:29:41 PM

Previous topic - Next topic

big2000

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
KrzysztofM
viktoria.com.pl
alelek.pl

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

big2000

Hi, please click cart icon and try to choose continue link in Polish: "Pokaż koszyk". Next arrow in on top of it. VirtueMart 3.0.7.4
KrzysztofM
viktoria.com.pl
alelek.pl

big2000

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);
    }
});
KrzysztofM
viktoria.com.pl
alelek.pl