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. 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
5 Posts 3 Posters 634 Views 2 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.
  • E
    E
    egorkraft
    wrote on 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
      arminunruhA
      arminunruh
      Global Moderator
      wrote on 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
        E
        egorkraft
        wrote on 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
          arminunruhA
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          now it should work with the latest update!

          1 Reply Last reply
          0
          • M
            M
            marynasakowska
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0

            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
            I
            itsbadjujuju
            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