enter image description here

I want to add video-icon class in dot if the gallery has video.

1 Answer 1


One way would be with JS, by targeting the Video frame that is active, in order to find the dot that is active at the same time.

Fotorama video class: "fotorama__stage__frame fotorama-video-container ... fotorama__active ..."

Dot active class: "fotorama__nav__frame fotorama__nav__frame--dot fotorama__active"

Then customize that specific dot (add a class, add icon, etc).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.