Home › Forums › Jevelin Theme › Removing Woocommerce lightbox feature
Home › Forums › Jevelin Theme › Removing Woocommerce lightbox feature
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
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.
That’s done the job! Thanks again, much appreciated.
You are most welcome here 🙂
If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.