T
T
tester2020-07-20 20:02:30
css
tester, 2020-07-20 20:02:30

Any idea how to fix the dynamic element in this position?

How to fix the block with mini photo navigation at the level of the first photo?
Now I use position: sticky, but each first photo of the product has its own height + a different number of photos

Link: https://chervinsky.ru/portfolio-brending/firmennyi...
5f15ce1498e58121509572.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilgiz Arginov, 2020-07-20
@ilgizarginov

Why do you need a script to replace the position (the one with the .is_stuck class). would be better to put position: fixed initially on .slide-dots, and padding [top:20%;] on top

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question