Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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. OVERLAY NOT OPENING ON MACBOOK/CHROME

OVERLAY NOT OPENING ON MACBOOK/CHROME

Scheduled Pinned Locked Moved Bug Reports
8 Posts 2 Posters 988 Views 1 Watching
  • 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.
  • joshsenderJ
    joshsenderJ
    joshsender
    wrote on last edited by
    #1

    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
    0
    • joshsenderJ
      joshsenderJ
      joshsender
      wrote on last edited by
      #2

      url: joshsender.com

      https://joshsender.com

      joshsenderJ 1 Reply Last reply
      0
      • joshsenderJ joshsender

        url: joshsender.com

        joshsenderJ
        joshsenderJ
        joshsender
        wrote on last edited by
        #3

        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

        joshsenderJ 1 Reply Last reply
        0
        • joshsenderJ joshsender

          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

          joshsenderJ
          joshsenderJ
          joshsender
          wrote on last edited by
          #4

          @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
          0
          • arminunruhA
            arminunruhA
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            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

            joshsenderJ 1 Reply Last reply
            0
            • arminunruhA arminunruh

              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

              joshsenderJ
              joshsenderJ
              joshsender
              wrote on last edited by
              #6

              @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
              0
              • arminunruhA
                arminunruhA
                arminunruh
                Global Moderator
                wrote on last edited by
                #7

                mmmh interesting! :O

                joshsenderJ 1 Reply Last reply
                0
                • arminunruhA arminunruh

                  mmmh interesting! :O

                  joshsenderJ
                  joshsenderJ
                  joshsender
                  wrote on last edited by
                  #8

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

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  Online Users
                  M
                  michael_vvc
                  C
                  craigfeldspar
                  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