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. split screen only for one page

split screen only for one page

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 622 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.
  • R
    R
    ricorico4321
    wrote on last edited by arminunruh
    #1

    Hi!

    Is it possible to keep landing page as split screen setup and keep rest of page without?

    Thank you!

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

      yea!

      just use the css for one page like:
      https://laytheme.com/documentation/custom-css-styling.html#css-based-on-current-page

      so if your body class is ".slug-home":

      /* using "body>.lay-content #grid" instead of "#grid" for compatibility with "Overlay Feature" */
          body.slug-home>.lay-content #grid, #footer-region {
              height: 100%;
              position: fixed;
              top: 0;
              overflow-y: scroll;
              overflow: -moz-scrollbars-none;
              scrollbar-width: none;
              -webkit-overflow-scrolling: touch;
          }
          body.slug-home #footer-region {
              left: 0;
              width: 50%;
          }
          body.slug-home #footer{
              box-sizing: border-box;
              min-height: 100%;
          }
          body.slug-home>.lay-content #grid {
              right: 0;
              width: 50%;
          }
          body.slug-home>.lay-content #grid{
              box-sizing: border-box;
          }
          body.slug-home *::-webkit-scrollbar {
              display: none;
          }
      
      R 1 Reply Last reply
      0
      • arminunruhA arminunruh

        yea!

        just use the css for one page like:
        https://laytheme.com/documentation/custom-css-styling.html#css-based-on-current-page

        so if your body class is ".slug-home":

        /* using "body>.lay-content #grid" instead of "#grid" for compatibility with "Overlay Feature" */
            body.slug-home>.lay-content #grid, #footer-region {
                height: 100%;
                position: fixed;
                top: 0;
                overflow-y: scroll;
                overflow: -moz-scrollbars-none;
                scrollbar-width: none;
                -webkit-overflow-scrolling: touch;
            }
            body.slug-home #footer-region {
                left: 0;
                width: 50%;
            }
            body.slug-home #footer{
                box-sizing: border-box;
                min-height: 100%;
            }
            body.slug-home>.lay-content #grid {
                right: 0;
                width: 50%;
            }
            body.slug-home>.lay-content #grid{
                box-sizing: border-box;
            }
            body.slug-home *::-webkit-scrollbar {
                display: none;
            }
        
        R
        R
        ricorico4321
        wrote on last edited by
        #3

        @arminunruh Thank you!

        1 Reply Last reply
        0
        • J
          J
          julesmann
          wrote on last edited by julesmann
          #4

          @arminunruh
          Hi, I've used the code as mentioned above to make a splitscreen landing page. on this page i have text with links to projects etc. If i click on any of the links, it now goes to a new page, without splitscreen (yay!). But the leftside of my splitscreen stays on this new page. Any idea how to fix this?

          Edit. U have now used this code:

          [data-slug="grand-march"] .footer {
            display: none !important;
          }
          

          this way i have to add one for every new project page. is there an easier way?

          1 Reply Last reply
          0
          • arminunruhA
            arminunruhA
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            how about

            body.type-project .footer {
            display: none !important;
            }

            this will hide the footer on all project pages

            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