Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    OVERLAY NOT OPENING ON MACBOOK/CHROME

    Bug Reports
    2
    8
    21
    Loading More Posts
    • 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.
    • joshsender
      joshsender last edited by

      Overlay pages are loading at the bottom of the page and cut off: 97235b62-0dc7-4ca1-8ec3-18a03ab2447b-image.png
      Screenshot shows: when you scroll all the way to the bottom all the overlays included in the page are stacked below the page content.

      To fix I had to add:

      
      /* overlay fix */
      .lay-overlay {
          top: 0;
          position: fixed;
          z-index: 9999;
          display: none;
      }
      .lay-overlay-bg {
          z-index: 9998;
          top: 0 !important;
          position: fixed;
      }
      .lay-overlay-bg.lay-show-overlay-bg {
          width: 100%;
          height: 100%;
      }
      .lay-show-overlay {
          display: block;
      }
      

      An OK fix but now you can't scroll always within the overlays. It's a weird bug - it doesnt happen in Edge on Windows, or Firefox on Mac. But Chrome it's happening on both.

      https://joshsender.com

      1 Reply Last reply Reply Quote 0
      • joshsender
        joshsender last edited by

        url: joshsender.com

        https://joshsender.com

        joshsender 1 Reply Last reply Reply Quote 0
        • joshsender
          joshsender @joshsender last edited by

          Figured it out! It's the plugin: WP Fastest Cache.

          Disabled and it works without the fix. Heads-up because I know that plugin is recommended in the https://laytheme.com/documentation/speeding-up-your-website.html documentation.

          6bbfd987-1e01-4ec2-b278-5e217a952a35-image.png

          https://joshsender.com

          joshsender 1 Reply Last reply Reply Quote 0
          • joshsender
            joshsender @joshsender last edited by

            @joshsender No settings within WP Fastest Cache can be toggled for it to work. It has to be off or the Overlays load below the page and won't work.

            https://joshsender.com

            1 Reply Last reply Reply Quote 0
            • arminunruh
              arminunruh Global Moderator last edited by

              hey this code seems to create an error:

                          jQuery(document).scroll(function() {
                              var currentTop = window.pageYOffset / 1;
                              for (var i = 0; blocksArr.length; i++) {
                                  var currentElementTop = jQuery(blocksArr[i]).offset().top;
                                  var hash = jQuery(blocksArr[i]).attr('id');
              

              probably better to do:

              if( jQuery(blocksArr[i]).length > 0 ) {
              var hash = jQuery(blocksArr[i]).attr('id');
              }

              Screenshot 2023-07-31 at 19.40.37.png

              maybe the plugin works if you activate it and then find the button to purge the cache

              joshsender 1 Reply Last reply Reply Quote 0
              • joshsender
                joshsender @arminunruh last edited by

                @arminunruh Ooooh - tried that but to no avail! Also just commented out that whole janky scrolling script and the issue still happens if the WP Fastest Cache plugin is enabled. Cleared cache through the plugin as well! I swear!

                https://joshsender.com

                1 Reply Last reply Reply Quote 0
                • arminunruh
                  arminunruh Global Moderator last edited by

                  mmmh interesting! :O

                  joshsender 1 Reply Last reply Reply Quote 0
                  • joshsender
                    joshsender @arminunruh last edited by

                    @arminunruh For now disabling the WP Fastest Cache.

                    Thank you SO MUCH for all the work on the overlay. its super super cool :pray:

                    https://joshsender.com

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post
                    Post a link to where the problem is if possible, please <3
                    I don't answer or check forum DMs, please just post on the forum.
                    Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com

                    Before you post:

                    Use the Search Feature. Maybe there is already a solution to your issue.

                    1. Update Lay Theme and all Lay Theme Addons
                    2. Disable all Plugins
                    3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
                    4. When using a WordPress Cache plugin, disable it or clear your cache. Now see if your problem solved itself.
                    Go here, see if your problem is listed here:
                    Troubleshooting

                    When you post:
                    1. Post a link to where the problem is
                    2. If the problem is difficult to explain, post screenshots / link to a video to explain it

                    Thanks!

                    Online Users

                    Recent Topics

                    • Search as icon instead of text?

                    • FILTER Categories showing all projects

                    • H

                      Vimeo embed with autoplay and loop is really slow...help!

                    • A

                      website not loading on iphone safari

                    laytheme.com