Home Forums WoodMart support forum Split: How to make full image linked

Split: How to make full image linked

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #138279

    davidmontana
    Participant

    Hi guys,

    I need the same thing, to make the whole image clickable, not only the text on “full info on hover” product gallery,

    I added the JS you guys from support provided above,

    jQuery(‘body’).on(‘click’, ‘.top-information’, function(e) {
    e.preventDefault();
    window.location.href = jQuery(this).parent().find(‘.product-image-link’).attr(‘href’);
    })

    (added a semicolon at the end) but it’s not working, can you please check that script?

    Thanks

    #138296

    Artem Temos
    Keymaster

    Hi,

    Could you please send us a link to your website where we can see this issue?

    Kind Regards

    #138306

    davidmontana
    Participant

    Yes, link below:
    I disabled whishlist/add to cart/preview/quickview but still doesn’t work

    #138320

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it? Also, remove all the Custom JS you added to your website.

    Thank you in advance

    #139307

    davidmontana
    Participant

    Thank you guys, details attached

    #139335

    Artem Temos
    Keymaster

    We see some JS code that is not related to our theme and causes the error on your website. It may break other scripts https://gyazo.com/634c3a852a300a555b360847b2c49270
    Please, fix it or remove first.

    #139361

    davidmontana
    Participant

    I removed the code,
    thank you

    #139368

    Artem Temos
    Keymaster
    #140521

    davidmontana
    Participant

    It was a cache problem, please check again, thanks

    #140540

    Eric Watson
    Participant

    Hello,

    Try to add the following code snippet to the Custom CSS area in Theme Settings to do this

    .woodmart-hover-info-alt .product-element-top:before,
    .woodmart-hover-info-alt .top-information {
        pointer-events: none;
    }

    Kind Regards
    XTemos Studio

    #140989

    davidmontana
    Participant

    Perfect
    Thank you

    #141011

    Eric Watson
    Participant

    You are welcome!

Viewing 12 posts - 1 through 12 (of 12 total)