-
AuthorPosts
-
March 3, 2015 at 2:29 am #404896
Hello! we were wondering if it was possible to make the main product image for example here https://aquaquestonline.com/product/himal/ clickable (so that when user clicks on the image, it enlarged and popped up to see the whole product)?
Thanks,
Gear Out HereMarch 3, 2015 at 8:44 pm #405389Hi gearouthere!
If your using WooCommerce then that should be the default behaviour as you can see in our demo, http://kriesi.at/themes/enfold/product/zoku-trioquick-pop-maker/.
Are you using a WooCommerce extension for that?
You can try editing line 826 in /enfold/js/avia.js and change it from this.
autolinkElements: 'a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href*=".jpg?"], a[href*=".png?"], a[href*=".gif?"], a[href*=".jpeg?"], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"], a[href*="iframe=true"]',
To this.
autolinkElements: 'a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href*=".jpg?"], a[href*=".png?"], a[href*=".gif?"], a[href*=".jpeg?"], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"], a[href*="iframe=true"], .zm-viewer img',
To try and get it linked up with the magnific popup script that we use.
Cheers!
Elliott- This reply was modified 9 years, 9 months ago by Elliott.
March 4, 2015 at 8:04 pm #406018Hi Elliott, thanks for your advice. It didn’t do the trick though… I am not sure if we are using an extension for this, I can’t see a plugin that would do that.. Neither can I see anything in the functions file that would add this functionality.. I think we had a plugin that gave us this functionality before – with a previous theme that we used. But now the plugin is not there.. Do you have any ideas?
Thanks,
KarinaMarch 5, 2015 at 6:52 pm #406595Hi!
Let’s try the following.
1. Create a backup.
2. Deactivate all plugins.
3. Completely delete Enfold from your WordPress theme directory before downloading + uploading a fresh copy.
4. Reinstall WooCommerce.
If none of the above fix it then send us a WordPress login and we’ll take a closer look.
Best regards,
ElliottFebruary 18, 2016 at 12:35 am #585030Hi Elliot!
I have a sort of similar problem. I’m trying to open the product details in lightbox. Do you think you cen help me with that?
Thank you!Lucian
February 18, 2016 at 2:24 am #585068Hi!
Please refer to my post here – https://kriesi.at/support/topic/lightbox-for-mailchimp-form/#post-582439 and instead of shortcode, insert your content
Regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.