Removing Woocommerce lightbox feature

Home Forums Jevelin Theme Removing Woocommerce lightbox feature

Home Forums Jevelin Theme Removing Woocommerce lightbox feature

This topic contains 5 replies, has 2 voices, and was last updated by  Shufflehound Support 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    RESOLVED Posts
  • Hi there, my client would like to disable the ability to enlarge product images altogether, so no lightbox or displaying in a new tab.

     

    I’ve tried remove_theme_support( ‘wc-product-gallery-lightbox’ ); in functions.php, which seems to be the recommended method, with no luck.

     

    Could you possibly point me in the right direction, please?   Thanks very much.

    Hi @getspotted,

     

    I hope you are well today and thank you for your question.

     

    You can disable it in the theme settings as shown in the attached screenshot.

     

    Best regards,
    Shufflehound team

    Attachments:
    You must be logged in to view attached files.

    Hi there, thanks but that has the effect of opening gallery images in a new tab, which in the situation is worse because it exposes the image URL.

     

    What I’d like to achieve is that nothing happens at all if you click on the image.

     

    Many thanks.

    Solution for this topic

    You can disable it completely by using the attached custom child theme of Jevelin theme that contains some custom code.

    Attachments:
    You must be logged in to view attached files.

    That’s done the job!  Thanks again, much appreciated.

    You are most welcome here 🙂

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