Home › Forums › SEA HTML5 Template › Switch of the Lightbox function
- This topic has 3 replies, 2 voices, and was last updated 1 month, 2 weeks ago by
SeaTheme.
- AuthorPosts
- July 1, 2022 at 4:46 pm #27877
Hello,
I need to switch off the lightbox function and I tryed everthing, including Customized CSS and switched of Extra Css but it’s not working. The background is always dark and there are no buttons visible.
Does anyone has the same expierience or any idea?
Thanx for help!July 2, 2022 at 2:23 am #27878Hi there,
Welcome to SeaTheme forum.It will link to the image file URL itself if the Lightbox is Off. It is possible to disable the clicking on the Link by custom CSS(“Appearance > Customize: Additional CSS”):
.woocommerce-product-gallery__image, div[data-lightbox="true"] { pointer-events: none; }
If it is not what you want, please give me more tips about your requirement, thanks.
Regards!
SeaTheme – FAQs – WordPress Customization – FacebookJuly 2, 2022 at 10:19 am #27880Thanks, this is, what I need!
Just a little summary:
If the lightbox is enabled, all the buttons and the background is visible.
If it’s disabled, the image links to its own URL.
With the code:.woocommerce-product-gallery__image,
div[data-lightbox=”true”] { pointer-events: none; }it’s possible, to disable this.
Perfect help!
Thx, St.July 2, 2022 at 1:42 pm #27881 - AuthorPosts
- You must be logged in to reply to this topic.