 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
April 19, 2017 at 3:12 am #779744When on the single image page and I click on any of the product images in the gallery images pops up it seems to have to be clicked on twice to close the pop up image. How can I stop this so it just expands to a larger image and can scroll through and only click on cross to close once April 19, 2017 at 6:43 am #779797Hey xfacta, Please provide a link to the site/page in question so I can look into this issue. Best regards, 
 Jordan ShannonApril 19, 2017 at 9:27 am #779851HI there here is an example: https://blackchicken.com.au/products/body/travel-skincare-kit/ April 19, 2017 at 10:40 am #779881Hi, Try to add this code at the bottom of functions.php: // Dequeue prettyPhoto function prettyphoto_dequeue_script() { wp_dequeue_script('prettyPhoto'); wp_dequeue_script('prettyPhoto-init'); } add_action('wp_print_scripts', 'prettyphoto_dequeue_script', 100);Hope this helps :) Best regards, 
 NikkoApril 20, 2017 at 4:23 am #780255PERFECT!! Thank you so much :-) How come it does by default require you to click twice to close it though? April 20, 2017 at 4:06 pm #780608Hi xfacta, What do you mean by that? It opens on one click and if you click on the image it shows next. If you need further assistance please let us know. 
 Best regards,
 VictoriaApril 21, 2017 at 12:26 am #780920It was opening the image but to close the image you had to click the x twice to actually close it – so it was showing it like 2 separate images to close – if that makes sense. The code has fixed that though – but I just was curious to know why it was doing that in the first place. April 21, 2017 at 3:18 pm #781240Hi, It looks like the prettyphoto script may have been getting enqueued twice, which is why Nikko dequeued the initialization. It code have been a bug or simple coding error. Best regards, 
 Jordan ShannonApril 22, 2017 at 8:34 am #781599Ok thank you for that explanation :-) You can close this ticket now – thanks allot. April 22, 2017 at 12:58 pm #781657Hi, No problem at all. If you need additional help, please contact us here on the forums. Best regards, 
 Jordan Shannon
- 
		AuthorPosts
- The topic ‘Single product image displays’ is closed to new replies.
