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. OVERLAY NOT OPENING ON MACBOOK/CHROME

OVERLAY NOT OPENING ON MACBOOK/CHROME

Scheduled Pinned Locked Moved Bug Reports
8 Posts 2 Posters 135 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.
  • J Offline
    J Offline
    joshsender
    wrote on Jul 31, 2023, 5:29 PM 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
    • J Offline
      J Offline
      joshsender
      wrote on Jul 31, 2023, 5:31 PM last edited by
      #2

      url: joshsender.com

      https://joshsender.com

      J 1 Reply Last reply Jul 31, 2023, 5:35 PM
      0
      • J joshsender
        Jul 31, 2023, 5:31 PM

        url: joshsender.com

        J Offline
        J Offline
        joshsender
        wrote on Jul 31, 2023, 5:35 PM 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

        J 1 Reply Last reply Jul 31, 2023, 5:38 PM
        0
        • J joshsender
          Jul 31, 2023, 5:35 PM

          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

          J Offline
          J Offline
          joshsender
          wrote on Jul 31, 2023, 5:38 PM 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
          • A Online
            A Online
            arminunruh
            Global Moderator
            wrote on Jul 31, 2023, 5:41 PM 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

            J 1 Reply Last reply Jul 31, 2023, 6:13 PM
            0
            • A arminunruh
              Jul 31, 2023, 5:41 PM

              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

              J Offline
              J Offline
              joshsender
              wrote on Jul 31, 2023, 6:13 PM 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
              • A Online
                A Online
                arminunruh
                Global Moderator
                wrote on Jul 31, 2023, 6:19 PM last edited by
                #7

                mmmh interesting! :O

                J 1 Reply Last reply Jul 31, 2023, 6:25 PM
                0
                • A arminunruh
                  Jul 31, 2023, 6:19 PM

                  mmmh interesting! :O

                  J Offline
                  J Offline
                  joshsender
                  wrote on Jul 31, 2023, 6:25 PM 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
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes

                  3/8

                  Jul 31, 2023, 5:35 PM

                  5 unread

                  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
                  F
                  felix_rabe
                  7 minutes ago
                  A
                  arminunruh
                  27 minutes ago
                  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.
                  3 out of 8
                  • First post
                    3/8
                    Last post
                  0
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Search