• Resolved serverara

    (@serverara)


    Hi,
    Using wordpress 6.1.1 \ PHP 8.1
    Theme twentyfourteen (Right to Left)
    I can see only the first photo in your lightbox.
    I think it maybe connected to the direction of my WP site (RTL) .

    I can see that the first photo (that shown fine) get
     {transform: translate3d(0%, 0px, 0px);}
    the next photo to the right get
    transform: translate3d(-100%, 0px, 0px);
    and the last photo to the left gets (transform: translate3d(-18700%,0px, 0px);
    the gallery contains 187 photos.

    when I make a manual change to
    transform: translate3d(100%, 0px, 0px);
    The specific photo appears

    It`s look like that the problem that the translate3d X value gets minus instead of plus

    Any Idea ?




    • This topic was modified 1 year, 11 months ago by serverara.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter serverara

    (@serverara)

    I found the solution. I dont know what was your logical idea,
    ( maybe WP 6.1.1 bug\RTL version)
    In your lightbox.js I change the *-i to *i .
    now Its work !!!
    n.style.transform=”translate3d(“.concat(100*i,”%, 0, 0)”)

    • This reply was modified 1 year, 10 months ago by serverara.
    • This reply was modified 1 year, 10 months ago by serverara.
    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    Thanks a lot for finding out ?? I added this to my to do list, and will do it in a few weeks. Cheers ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Only the first Photo appears’ is closed to new replies.