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. Bug Reports
  3. Full Screen Slider slides overflowing on PHONE

Full Screen Slider slides overflowing on PHONE

Scheduled Pinned Locked Moved Bug Reports
18 Posts 2 Posters 665 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.
  • T Offline
    T Offline
    treh16
    wrote on last edited by
    #1

    Hi there,

    I'm on latest version of Wordpress, Laytheme and Slider plugin.

    I seem to be having the same issue as resolved before here: http://laythemeforum.com:4567/topic/6352/fullscreen-slider-on-mobile-and-the-use-browser-height-for-row-height/5?_=1634908220735

    On iOS 15, iPhone 11Pro. Also reproduced on Mac's Safari in Responsive Design Mode - all phone layouts.

    The slides are overflowing on mobile. I have custom phone layouts with Use Browser Height for Row Height switched ON.

    https://plastics.lin41.host25.com/swolff/strategies/

    Thanks for looking into this!

    1 Reply Last reply
    0
    • T Offline
      T Offline
      treh16
      wrote on last edited by treh16
      #2

      I'm using Set Row Image Background together with Full Screen Slider and Use Browser Height for Row Height.

      Just have a look here how the slides are overflowing on mobile: https://plastics.lin41.host25.com/swolff

      Would be great if someone could get back to me asap

      alt text

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

        Dear @treh16

        This code min-height: calc(100vh - 113px); is being applied to the row. Any idea why this 113px is being calculated in?

        Could you do some tests with your site-title and menu/nav hidden to see if this is the 113px being added?

        Wordpress, Lay Theme & Laytheme's Addons are all up to date ?

        Any custom CSS or JS that may interfere is temporarily removed.

        Any third-party plugins are de-activated to see if this resolves the issue.


        Talk soon @treh16 best wishes šŸ–
        Richard
        T 1 Reply Last reply
        0
        • RichardR Richard

          Dear @treh16

          This code min-height: calc(100vh - 113px); is being applied to the row. Any idea why this 113px is being calculated in?

          Could you do some tests with your site-title and menu/nav hidden to see if this is the 113px being added?

          Wordpress, Lay Theme & Laytheme's Addons are all up to date ?

          Any custom CSS or JS that may interfere is temporarily removed.

          Any third-party plugins are de-activated to see if this resolves the issue.


          Talk soon @treh16 best wishes šŸ–
          Richard
          T Offline
          T Offline
          treh16
          wrote on last edited by treh16
          #4

          @Richard said in Full Screen Slider slides overflowing on PHONE:

          min-height:

          Thanks Richard, I have no idea, but looking now into the code it seems it's coming from here?
          I don't have any related CSS in place nor any plugins.

          /*
          ROWS

          ".fp-slide" is for fullscreen slider

          */
          ._100vh {
          min-height: 100vh; }

          .fp-section, .fp-slide, .fp-tableCell {
          height: 100vh; }

          html.is-iphone.is-safari .row.first-row._100vh,
          html.is-iphone.is-safari .row.first-row ._100vh,
          html.is-iphone.is-safari .cover-region._100vh,
          html.is-iphone.is-safari .cover-region-placeholder._100vh,
          html.is-iphone.is-safari .cover-region ._100vh,
          html.is-iphone.is-safari .fullpage-wrapper .row-inner._100vh, html.is-iphone.is-safari .fullpage-wrapper .column-wrap._100vh {
          min-height: calc(100vh - 75px); }

          html.is-iphonex.is-safari .row.first-row._100vh,
          html.is-iphonex.is-safari .row.first-row ._100vh,
          html.is-iphonex.is-safari .cover-region._100vh,
          html.is-iphonex.is-safari .cover-region-placeholder._100vh,
          html.is-iphonex.is-safari .cover-region ._100vh,
          html.is-iphonex.is-safari .fullpage-wrapper .row-inner._100vh, html.is-iphonex.is-safari .fullpage-wrapper .column-wrap._100vh {
          min-height: calc(100vh - 113px); }

          1 Reply Last reply
          0
          • T Offline
            T Offline
            treh16
            wrote on last edited by
            #5

            @Richard could you get back to me? We really can't launch without this fixed.

            That said, it seem like it's on Lay's side. I don't have any such customisation added. Happy to give you access if needed.
            Thanks a lot!

            1 Reply Last reply
            0
            • T Offline
              T Offline
              treh16
              wrote on last edited by
              #6

              @Richard any idea? This is now quite urgent as we need to have this sorted today. Happy to give you access or more info to move things forward. Thx!

              alt text

              1 Reply Last reply
              0
              • T Offline
                T Offline
                treh16
                wrote on last edited by
                #7

                @Richard The slider seems to be very buggy on Phone layout. At least on my site, see home page on phone putwastetowork.org

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

                  Dear @treh16

                  I understand its urgent, so going into deeper debugging may come later. For now please see the following code:

                  html.is-iphone.is-safari #custom-phone-grid .fp-section {min-height: 100vh !important}
                  

                  This is saying as long as its on Iphone and Safari (where the problem is occuring) all Full screen slider slides within a custom phone grid will be forced to 100vh or 100% height of the browser. This solves the issue on my end. Please add the above code into > Lay Options > Custom CSS & HTML > Custom CSS for Mobile Version >

                  Screen Shot 2021-10-29 at 9.25.20 AM.png

                  Let me know how you go @treh16 & have a wonderful day! 🌻


                  Best wishes
                  Richard
                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    treh16
                    wrote on last edited by
                    #9

                    Hi @Richard I have applied it, however unfortunately it did not fix the issue.

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

                      Dear @treh16

                      When looking at the code, you may have entered it with a typo? (space-between 100vh & !important)
                       .png

                      html.is-iphone.is-safari #custom-phone-grid .fp-section {min-height: 100vh!important}
                      

                      However If you would like, as it may speed things up for you, please send me your Login details via 'Chats' and i will have a closer inspection. šŸ”

                      (NOTE: do not disclose private info on the thread itself)

                      Talk soon & best wishes šŸŒ
                      Richard
                      T 1 Reply Last reply
                      0
                      • RichardR Richard

                        Dear @treh16

                        When looking at the code, you may have entered it with a typo? (space-between 100vh & !important)
                         .png

                        html.is-iphone.is-safari #custom-phone-grid .fp-section {min-height: 100vh!important}
                        

                        However If you would like, as it may speed things up for you, please send me your Login details via 'Chats' and i will have a closer inspection. šŸ”

                        (NOTE: do not disclose private info on the thread itself)

                        Talk soon & best wishes šŸŒ
                        Richard
                        T Offline
                        T Offline
                        treh16
                        wrote on last edited by
                        #11

                        @Richard this is what I have in and still not working:

                        iPhone 11Pro, ios 15.0.2, Safari. No issue on Chrome on the same phone.

                        alt text

                        alt text

                        Sending you the login info.

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

                          Dear @treh16

                          Thank you for the login details - so i was wondering why....
                          Then i realised- Only on Iphone - Only on Safari!
                          The area down the bottom is meant to be this way because of the menu bar at the bottom of Safari on Iphone:
                          251110140_416507896686100_4180820985885987636_n.png

                          I believe this is built in for that purpose because you would lose content due to the menu bar - sorry i did not think of this initially!!

                          When viewing within Safari responsive mode this is not taken into account - Maybe there is still issue you can see so let me know your thoughts and if i can help further šŸŒ


                          Best wishes @treh16 & have a great day
                          Richard
                          T 1 Reply Last reply
                          0
                          • RichardR Richard

                            Dear @treh16

                            Thank you for the login details - so i was wondering why....
                            Then i realised- Only on Iphone - Only on Safari!
                            The area down the bottom is meant to be this way because of the menu bar at the bottom of Safari on Iphone:
                            251110140_416507896686100_4180820985885987636_n.png

                            I believe this is built in for that purpose because you would lose content due to the menu bar - sorry i did not think of this initially!!

                            When viewing within Safari responsive mode this is not taken into account - Maybe there is still issue you can see so let me know your thoughts and if i can help further šŸŒ


                            Best wishes @treh16 & have a great day
                            Richard
                            T Offline
                            T Offline
                            treh16
                            wrote on last edited by
                            #13

                            @Richard the new iOS 15 has put Safari's address bar on the bottom, is that what you meant? This is not my customisation -> this is how all new iPhones Safaris look like now.

                            If yes, how can we make sure that all people on iOS 15 Safari would be able to view the site without this problem?

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

                              Dear @treh16

                              "If yes, how can we make sure that all people on iOS 15 Safari would be able to view the site without this problem?"

                              I have added some small code to fix the issue, could you confirm on your end no problems? please test in incognito windows to be sure its not the old cache coming through.


                              Best wishes ✨
                              Richard
                              T 1 Reply Last reply
                              0
                              • RichardR Richard

                                Dear @treh16

                                "If yes, how can we make sure that all people on iOS 15 Safari would be able to view the site without this problem?"

                                I have added some small code to fix the issue, could you confirm on your end no problems? please test in incognito windows to be sure its not the old cache coming through.


                                Best wishes ✨
                                Richard
                                T Offline
                                T Offline
                                treh16
                                wrote on last edited by treh16
                                #15

                                @Richard thanks, this solved it for Portrait view. When I flip the phone to landscape, the slider is not fullscreen anymore and has lot's of content overflow.

                                See video below:

                                alt text

                                T 1 Reply Last reply
                                0
                                • T treh16

                                  @Richard thanks, this solved it for Portrait view. When I flip the phone to landscape, the slider is not fullscreen anymore and has lot's of content overflow.

                                  See video below:

                                  alt text

                                  T Offline
                                  T Offline
                                  treh16
                                  wrote on last edited by
                                  #16

                                  @Richard any update on this? Thx!

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

                                    Dear @treh16

                                    Could you please put the Custom CSS from earlier into the main CSS Area rather than mobile, I think the Browser width when the device rotates is not respecting the Mobile CSS media query. I would do this myself to save you the trouble of testing but i am unable to login as earlier.

                                    .is-safari #custom-phone-grid .fp-section {
                                        min-height: 100vh !important;
                                        height:100vh !important;
                                    }
                                    
                                    .is-iphone #custom-phone-grid .fp-section {
                                        min-height: 100vh !important;
                                        height:100vh !important;
                                    }
                                    .is-safari #custom-phone-grid .fp-auto-scroll {
                                        min-height: 100vh !important;
                                        height:100vh !important;
                                    }
                                    

                                    Screen Shot 2021-11-10 at 2.05.24 PM.png


                                    Talk soon @treh16 & best wishes
                                    Richard
                                    T 1 Reply Last reply
                                    0
                                    • RichardR Richard

                                      Dear @treh16

                                      Could you please put the Custom CSS from earlier into the main CSS Area rather than mobile, I think the Browser width when the device rotates is not respecting the Mobile CSS media query. I would do this myself to save you the trouble of testing but i am unable to login as earlier.

                                      .is-safari #custom-phone-grid .fp-section {
                                          min-height: 100vh !important;
                                          height:100vh !important;
                                      }
                                      
                                      .is-iphone #custom-phone-grid .fp-section {
                                          min-height: 100vh !important;
                                          height:100vh !important;
                                      }
                                      .is-safari #custom-phone-grid .fp-auto-scroll {
                                          min-height: 100vh !important;
                                          height:100vh !important;
                                      }
                                      

                                      Screen Shot 2021-11-10 at 2.05.24 PM.png


                                      Talk soon @treh16 & best wishes
                                      Richard
                                      T Offline
                                      T Offline
                                      treh16
                                      wrote on last edited by
                                      #18

                                      @Richard said in Full Screen Slider slides overflowing on PHONE:

                                      .is-safari #custom-phone-grid .fp-section {
                                      min-height: 100vh !important;
                                      height:100vh !important;
                                      }

                                      .is-iphone #custom-phone-grid .fp-section {
                                      min-height: 100vh !important;
                                      height:100vh !important;
                                      }
                                      .is-safari #custom-phone-grid .fp-auto-scroll {
                                      min-height: 100vh !important;
                                      height:100vh !important;
                                      }

                                      Hi @Richard , tried that, unfortunately didn't help. This is not an issue only with Safari, the same on mobile Chrome, or Desktop's Safari "Responsive design mode feature"

                                      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