L
L
ligisayan2020-05-12 08:46:13
JavaScript
ligisayan, 2020-05-12 08:46:13

How to close an image in a lightbox when clicking on it itself?

There is an owl- carousel carousel with lightbox when clicking on pictures. I'm interested in how to make it disappear when you click on the enlarged picture (there is no need for a cross).
Now the image disappears only if you click outside its area

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Ivanov, 2020-05-12
@maksim_fix

What was disappearing? Did the carousel disappear? display: none. Be specific with your question so we don't have questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question