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. Overlay Page Issue

Overlay Page Issue

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 928 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
    Eightmuro8
    wrote on last edited by Eightmuro8
    #1

    http://malaprojects.com/
    Hello I need assistance on why the css is not working?

    CSS:
    #about-overlay {
        font-family: 'BentonSans-Regular', 'Helvetica Neue', 'Helvetica', sans-serif;
    position: fixed;
    display: none;
    z-index: 10;
    top: 0;
    height: 100vh;
    width: 100vw;
    background: yellow;
    pointer-events: none;

    -webkit-justify-content: space-between;
        justify-content: space-between;

    /-moz-transition: opacity .1s;
    -webkit-transition: opacity .1s;
    -ms-transition: opacity .1s;
    -o-transition: opacity .1s;
        transition: opacity .1s;
    /
    }

    #about-link {
        z-index: 5;
    }

    #about-overlay p {
        margin: 150px 3.125%;
    }

    #about-overlay a {
        pointer-events: all;
        color: black;
        font-weight: bold;
        text-decoration: none;
    }

    #about-close {
        pointer-events: all;
        cursor: pointer;
        cursor: hand;
        margin: 22px 3%;
    }

    #about-close img {
        width: 35px;
    }

    .bottom-left {
        top: auto;
        bottom: 22px;
        left: 3%;
    }

    Top of HTML :

    <div id="about-overlay">
    <p id="about-content" class="sitetitle-txt-inner">
    Erica Smith is a multidisciplinary designer
    <br>based in Los Angeles. She received her
    <br>BFA in August 2017 from ArtCenter College
    <br>of Design in Pasadena, CA.
    <br><br>Resume available upon request.
    <br><span><a href="mailto:hello@ericasmith.co">hello@ericasmith.co</a></span>

    </p>
    
    
    <div id="about-close">
    <img src="/wp-content/uploads/2017/08/ES_X.png">
    </div>
    

    </div>

    <a id="about-link" href="malaprojects.com/contact" class="sitetitle txt bottom-left">
    <div class="sitetitle-txt-inner">
    Contact
    </div>
    </a>#about-overlay {
    font-family: 'BentonSans-Regular', 'Helvetica Neue', 'Helvetica', sans-serif;
    position: fixed;
    display: none;
    z-index: 10;
    top: 0;
    height: 100vh;
    width: 100vw;
    background: yellow;
    pointer-events: none;

    -webkit-justify-content: space-between;
    justify-content: space-between;

    /-moz-transition: opacity .1s;
    -webkit-transition: opacity .1s;
    -ms-transition: opacity .1s;
    -o-transition: opacity .1s;
    transition: opacity .1s;
    /
    }

    #about-link {
    z-index: 5;
    }

    #about-overlay p {
    margin: 150px 3.125%;
    }

    #about-overlay a {
    pointer-events: all;
    color: black;
    font-weight: bold;
    text-decoration: none;
    }

    #about-close {
    pointer-events: all;
    cursor: pointer;
    cursor: hand;
    margin: 22px 3%;
    }

    #about-close img {
    width: 35px;
    }

    .bottom-left {
    top: auto;
    bottom: 22px;
    left: 3%;
    }

    1 Reply Last reply
    0
    • mariusjopenM
      mariusjopenM
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Hi @Eightmuro8
      this here you also need to post into the Custom CSS section:

      #about-overlay {
      font-family: 'BentonSans-Regular', 'Helvetica Neue', 'Helvetica', sans-serif;
      position: fixed;
      display: none;
      z-index: 10;
      top: 0;
      height: 100vh;
      width: 100vw;
      background: yellow;
      pointer-events: none;
      
      -webkit-justify-content: space-between;
      justify-content: space-between;
      
      /-moz-transition: opacity .1s;
      -webkit-transition: opacity .1s;
      -ms-transition: opacity .1s;
      -o-transition: opacity .1s;
      transition: opacity .1s;/
      }
      
      #about-link {
      z-index: 5;
      }
      
      #about-overlay p {
      margin: 150px 3.125%;
      }
      
      #about-overlay a {
      pointer-events: all;
      color: black;
      font-weight: bold;
      text-decoration: none;
      }
      
      #about-close {
      pointer-events: all;
      cursor: pointer;
      cursor: hand;
      margin: 22px 3%;
      }
      
      #about-close img {
      width: 35px;
      }
      
      .bottom-left {
      top: auto;
      bottom: 22px;
      left: 3%;
      }
      

      Yes, no? I don't know how it should look in the end.

      Let me know!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • E
        E
        Eightmuro8
        wrote on last edited by
        #3

        Hey @mariusjopen,

        I am trying to have like a page overlay? if that's what you would call it.

        I am referencing a friends site. Where u click on the "About" section and a page overlays on top.

        http://www.ericasmith.co/

        1 Reply Last reply
        0
        • mariusjopenM
          mariusjopenM
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          Hi @Eightmuro8
          ok. I see.

          I would make it differently.

          I would make an extra page and put everything in what you want to have on the overlay page.

          Then you define this page as a footer of another page.

          With CSS you can give that footer a

          position: fixed; 
          top: 0px, left: 0px, 
          width: 100vw, 
          height: 100vh;
          

          I hope that helps!

          Best!

          Marius

          www.mariusjopen.world

          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
          A
          Anna_S
          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