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. General Discussion
  3. Carousel 100vh on mobile not working

Carousel 100vh on mobile not working

Scheduled Pinned Locked Moved General Discussion
31 Posts 9 Posters 1.7k 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.
  • mariusjopenM Offline
    mariusjopenM Offline
    mariusjopen
    Global Moderator
    wrote on last edited by
    #2

    Dear @melo_lenosier
    the carousel works fine on mobile with 100vh.

    Can you show a screenshot?

    Best!

    Marius

    www.mariusjopen.world

    1 Reply Last reply
    0
    • M Offline
      M Offline
      melo_lenosier
      wrote on last edited by
      #3

      It works, ok, but it's not properly fixed as when you active the Fullscreen slider with the direction set to Horizontal. Indeed now you can scroll up and down a little bit, but that should not happen. The hoverflow should be completely hidden. You know what I mean?

      Here you can see it in a video.

      Thanks

      1 Reply Last reply
      0
      • mariusjopenM Offline
        mariusjopenM Offline
        mariusjopen
        Global Moderator
        wrote on last edited by
        #4

        Dear @melo_lenosier
        ok. Thank you for sharing.
        We will look into this.

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply
        0
        • M Offline
          M Offline
          melo_lenosier
          wrote on last edited by melo_lenosier
          #5

          Ok, please let me know!

          Meanwhile I wanted to know if at the moment there are any alternative solutions.
          For example, if I use the Carousel while enabling the Fullscreen Slider it work perfectly, it doesn't overflow vertically (here). The only problem is that, in order to make the Fullscreen slider working, I have to insert 2 Rows and in this way there are problems when swiping from left to right because one Row has the Carousel with all the images inside and the other Row has just one image inside another Carousel.
          I wonder if there is a way to make the Fullscreen slider working with just one Row. That would solve the problem. Or maybe having 2 Rows but one should be set in display:none (but probably is not that easy).

          Hope you understand what I meant.
          Thanks again!

          melo

          1 Reply Last reply
          0
          • edgrbnzE Offline
            edgrbnzE Offline
            edgrbnz
            wrote on last edited by
            #6

            Just asking:

            Do you have a different frame set for the mobile version of the site in question? The frame adds to the height so that might be an issue.

            ✦ ✦ ✦

            1 Reply Last reply
            0
            • M Offline
              M Offline
              melo_lenosier
              wrote on last edited by melo_lenosier
              #7

              Nothing of that kind. Everything is set the same: 0 margin or padding.
              It's a Carousel problem.
              But thanks for checking! :)

              1 Reply Last reply
              1
              • edgrbnzE Offline
                edgrbnzE Offline
                edgrbnz
                wrote on last edited by
                #8

                Well then this is obviously a bug…

                ✦ ✦ ✦

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

                  Dear @melo_lenosier
                  we will look into this!

                  Best!

                  Marius

                  www.mariusjopen.world

                  1 Reply Last reply
                  0
                  • arminunruhA Offline
                    arminunruhA Offline
                    arminunruh
                    Global Moderator
                    wrote on last edited by arminunruh
                    #10

                    Yea, will try to fix this soon!

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

                      Danke schön!

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        hddunlap
                        wrote on last edited by
                        #12

                        @melo_lenosier Was this issue ever resolved? I am running into the same problem myself.

                        1 Reply Last reply
                        0
                        • U Offline
                          U Offline
                          User4000
                          wrote on last edited by
                          #13

                          Hello to everybody, I have the same issue, any updates?
                          thank you

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

                            Dear @melo_lenosier
                            we are looking right now into the carousel issues.

                            Best!

                            Marius

                            www.mariusjopen.world

                            1 Reply Last reply
                            0
                            • arminunruhA Offline
                              arminunruhA Offline
                              arminunruh
                              Global Moderator
                              wrote on last edited by
                              #15

                              links guys?

                              you might need to do

                              body {
                                  padding-top: 0!important;
                              }
                              

                              in lay options → custom html & css → custom css for mobile

                              usually there will be a space at the top so the content does not start underneath the mobile menu bar. this could be the issue.

                              if that doesn't fix it for you, post your website link here

                              1 Reply Last reply
                              0
                              • U Offline
                                U Offline
                                User4000
                                wrote on last edited by
                                #16

                                I don't have set a website already i just try this function and make the same issue of this video posted by @melo_lenosier before.
                                i try the strings for padding 0 but doesn't work (i have an iphone6s).

                                1 Reply Last reply
                                0
                                • arminunruhA Offline
                                  arminunruhA Offline
                                  arminunruh
                                  Global Moderator
                                  wrote on last edited by
                                  #17

                                  ok so on an iphone, 100vh is actually the height of the browser + the top and bottom browser bars.

                                  so the issue is not that the row/carousel is not set to browser-height, the issue is that on an iphone safari, browserheight is interpreted differently.

                                  also it is interpreted differently for an iphone with a home-button and one without a homebutton.

                                  you can try and create a custom phone layout and then use: "100vh - 110px" as your carousel fixed height. also make sure in that row, don't have your row be "browser height"

                                  1 Reply Last reply
                                  0
                                  • U Offline
                                    U Offline
                                    User4000
                                    wrote on last edited by
                                    #18

                                    Hi @arminunruh thanks, I try it, but also this doesn't work. The final target is to create a carousel that can swipe horizontal, with show multiple slides, like in the desktop view (where is perfect) but in the mobile view. Have you other ideas to create it?

                                    Thanks

                                    1 Reply Last reply
                                    0
                                    • U Offline
                                      U Offline
                                      User4000
                                      wrote on last edited by
                                      #19

                                      I send you a screen to see the settings i check for desktop and doesn't work the same on mobile.
                                      Screenshot 2020-01-29 at 17.00.00.png I try also with 100vh - 110px and with free drag selected but not work.

                                      1 Reply Last reply
                                      0
                                      • arminunruhA Offline
                                        arminunruhA Offline
                                        arminunruh
                                        Global Moderator
                                        wrote on last edited by
                                        #20

                                        hey everybody

                                        So i just released an update for both laytheme and the carousel plugin. Please update both.

                                        Now in your carousel, as your fixed height, write: 100vh

                                        Let me know if it works, if it doesn't do the trick, post the link to where you have the problem. Thx

                                        1 Reply Last reply
                                        0
                                        • U Offline
                                          U Offline
                                          User4000
                                          wrote on last edited by
                                          #21

                                          Hi @arminunruh it seems to be perfect now! there is only the white space at the top and bottom if you try to scroll vertical, maybe is possible to deactivate the vertical? scroll function?

                                          Thanks a lot

                                          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
                                          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