Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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 Here

    #405389

    Hi 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, 8 months ago by Elliott.
    #406018

    Hi 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,
    Karina

    #406595

    Hi!

    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,
    Elliott

    #585030

    Hi 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

    #585068

    Hi!

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.