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. close sclaed project overlay by clicking outside of it (not via X button)

close sclaed project overlay by clicking outside of it (not via X button)

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 96 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.
  • E Offline
    E Offline
    egorkraft
    wrote last edited by egorkraft
    #1

    Hi there,

    I've custom styled project overlays such that they occupy left half of the screen width. To be seen here: https://kraft.studio/archive/
    This was achieved by using the following Desktop CSS

    /* Hide site title on project overlay */
    html.show-project-overlay .sitetitle.txt {
        display: none!important;
    }
    
    /* blur background page on project overlay */
    html.show-project-overlay #grid.id-2178 {
        
        /* Any browser which supports CSS3 */
        filter: blur(30px);
    
        /* Firefox version 34 and earlier */
        filter: url("blur.svg#gaussian_blur");
    
        /* Webkit in Chrome 52, Safari 9, Opera 39, and earlier */
        -webkit-filter: blur(30px);
    }
    
    /* custom-styled project overlay page*/
    .animation-slidedown {
        left: 0vh !important;
        right: 50% !important;
        height: 100vh!important;
        width: 50%!important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    

    By default project overlays can only be closed via X (or a custom) icon.
    I would like to be able to close a project overlay page by simply clicking outside of it into blurred background, just like page overlays allow.
    I imagine this use case might be of use for many folks looking to do a neat single page layout. Should this be achieved via a pseudo-element below the overlay page?
    Many thanks in advance!

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

      okay will be added with the next update

      you cant custom code this, i have to add it to lay theme's code

      E 1 Reply Last reply
      0
      • arminunruhA arminunruh

        okay will be added with the next update

        you cant custom code this, i have to add it to lay theme's code

        E Offline
        E Offline
        egorkraft
        wrote last edited by
        #3

        @arminunruh Brilliant! Thank you, Armin. I believe adding slide from left or right animations would also compliment this useful feature.

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

          now it should work with the latest update!

          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