Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Addons
  3. Cursors and scroll on Vimeo Videos / Carousel add-on

Cursors and scroll on Vimeo Videos / Carousel add-on

Scheduled Pinned Locked Moved Addons
14 Posts 2 Posters 523 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • RichardR Offline
    RichardR Offline
    Richard
    Global Moderator
    wrote on last edited by
    #4

    Dear @marc

    Using navigation outside of the Carousel such as arrows or circles is not an option for you?
    I can understand if this is not with your design. 🌝


    Best
    Richard
    1 Reply Last reply
    0
    • M Offline
      M Offline
      marc
      wrote on last edited by
      #5

      Hi Richard,
      Haha the idea would to have full images besides the screen..
      If the cursors are not available, maybe keep the scrolling would be the best solution

      1 Reply Last reply
      0
      • RichardR Offline
        RichardR Offline
        Richard
        Global Moderator
        wrote on last edited by
        #6

        Dear Marc

        @marc

        The difficulty is just how 'Iframes' work. They are essentially windows of another website or HTML block. When the cursor exists over them, then their rules apply and also their navigation applies.

        Hope that makes sense, and we can wait for Armin's input as Lay Theme's creator 🌝


        best
        Richard
        1 Reply Last reply
        0
        • M Offline
          M Offline
          marc
          wrote on last edited by
          #7

          I understand! Let's see if Armin have a solution or something!
          Thank you!!

          1 Reply Last reply
          1
          • M Offline
            M Offline
            marc
            wrote on last edited by marc
            #8

            Hi,

            When I resized the page and went back to the original size of the page to test responsive, videos did this action :
            Capture d’écran 2022-05-23 à 21.41.29.png

            So, maybe the idea would be to let a space under videos to create a space to scroll/use cursors.

            Maybe you have the solution to resize videos on carousel and finally have this space under them ?

            Thanks a lot,
            Marc

            1 Reply Last reply
            0
            • RichardR Offline
              RichardR Offline
              Richard
              Global Moderator
              wrote on last edited by
              #9

              Dear @marc

              Interesting, This is surely a Bug but may have lead to a solution? 🌝
              I created these tests, the resizing bug occurs with "show multiple slides" the first carousel with and the second without :

              https://rickei3.dreamhosters.com/carousel-vimeo-bug/

              I have forwarded this Behaviour to Armin as well ✅

              Are you able to share your Carousel settings, i think i got pretty close:

              Screen Shot 2022-05-24 at 11.13.51 AM.png

              If this solution (bug) works for you then we could try some custom CSS to make the vimeo video smaller, let me know.

              Thank you for find the bug a well! ⭐️


              talk soon
              Richard
              1 Reply Last reply
              0
              • M Offline
                M Offline
                marc
                wrote on last edited by
                #10

                Hey Richard!

                Indeed I thing the bug could be the solution! The idea is to create a zone to suggest the scroll and cursor outside the iframe vimeo!

                Here are the Carousel settings:
                Capture d’écran 2022-05-24 à 09.33.10.png

                I continue to try things in the css to have this result
                Capture d’écran 2022-05-23 à 21.41.29.png

                Appreciate your help!
                Thanksss

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  marc
                  wrote on last edited by marc
                  #11

                  Ok so I found an other way,
                  http://marcthomas.fr/versace-spring-summer-22-watches-campaign/
                  Carousel new options:
                  Capture d’écran 2022-05-24 à 20.07.38.png

                  Like this there is a zone under videos.
                  The only little concern is that they are a little bit small, when I go in the css I change the value of this slide like this Capture d’écran 2022-05-24 à 20.12.17.png

                  But when I create this :

                  .lay-carousel-slide swiper-slide lay-carousel-slide-video is-selected {
                      width: calc(70%);
                  }
                  

                  It doesn't take the custom css

                  Otherwise it's not a big concern but always good to fix little details !! ;-))

                  1 Reply Last reply
                  0
                  • RichardR Offline
                    RichardR Offline
                    Richard
                    Global Moderator
                    wrote on last edited by Richard
                    #12

                    Dear @marc

                    Amazing 💥

                    Your code is good and close but a few things:

                    .lay-carousel-slide swiper-slide lay-carousel-slide-video is-selected {
                        width: calc(70%);
                    }
                    

                    If these are all classes they all need to be declared as classes with an . if they are ID's then they are declared with # :

                    .lay-carousel-slide .swiper-slide .lay-carousel-slide-video .is-selected {
                        width: calc(70%);
                    }
                    

                    With CSS if there is a 'space' between these classes that is saying they are "children" of the "Parent" and its a heirachy (nested, like russian dolls)

                    .Grandparent .parent .child .grandchild
                    

                    If the classes are part of the same element and not in a hierarchy then they have no space to signify this e.g:

                    .sibling.sibling.sibling.sibling
                    

                    So the above code would become:

                    .lay-carousel-slide.swiper-slide.lay-carousel-slide-video.is-selected {
                        width: calc(70%);
                    }
                    

                    You had the width correct but if using the Calc function you must complete it e.g

                    width: calc(70% - 10%);
                    

                    If not using a calculation then you can just use the normal width and declare a width. The use of !important is to override Lay Theme's native css . Note: !important should be used sparingly.

                    .lay-carousel-slide.swiper-slide.lay-carousel-slide-video.is-selected {
                        width:70% !important;
                    }
                    

                    The last thing is that the CSS applies to the slide with the class is-selected so its great when it's the one in centre view but it loses that class when you move down the carousel and therefore loses the CSS associated with it:

                    Screen Shot 2022-05-26 at 10.31.25 AM.png Screen Shot 2022-05-26 at 10.31.31 AM.png

                    We already have .lay-carousel-slide-video to signify its a video so that should do:

                    .lay-carousel-slide.swiper-slide.lay-carousel-slide-video {
                        width:70% !important;
                    }
                    

                    Hope this helps Marc, Versace images looking great and have a wonderful day 🌝


                    Best
                    Richard
                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      marc
                      wrote on last edited by
                      #13

                      Hi Richard,

                      It works!! Thanks for your time and your patience!!

                      Have a nice day!
                      Marc

                      1 Reply Last reply
                      0
                      • RichardR Offline
                        RichardR Offline
                        Richard
                        Global Moderator
                        wrote on last edited by
                        #14

                        Thanks @marc have a great day too! 👍

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        I also code custom websites or custom Lay features.
                        💿 Email me here: 💿
                        info@laytheme.com

                        Before you post:
                        1. When using a WordPress Cache plugin, disable it or clear your cache.
                        2. Update Lay Theme and all Lay Theme Addons
                        3. Disable all Plugins
                        4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                        This often solves issues you might run into

                        When you post:
                        1. Post a link to where the problem is
                        2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                        3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                        Online Users
                        O
                        oli
                        P
                        piranha
                        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                        laytheme.com
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Search