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. Bug Reports
  3. Splitscreen website for mobile

Splitscreen website for mobile

Scheduled Pinned Locked Moved Bug Reports
2 Posts 2 Posters 42 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.
  • M Offline
    M Offline
    Max.Weinland
    wrote on last edited by
    #1

    Hello, despite @Armin-Unruh not recommending split screen websites for mobile, I am working on one and I think it’s exactly right for what I am trying to achieve. Except it doesn’t seem to work as far as I see it. As soon as the breakpoint for mobile is reached, the right side content (start page) is displayed above the left side content (footer). For desktop, I have set the scrollable columns to a quarter of the total window width each. For the mobile version, I want each column to make up half the window width. That part works. Just the stacking instead of parallel scrollability is a problem. How do I fix this?
    Much love,
    Max

    The page is:
    https://formfollowscapital.net/

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

      i see youre using a custom phone grid.

      make sure the css for the splitscreen website is in "custom css for desktop version".
      so basically, make sure the css that currently works for you is not in the "custom css" field, but make sure its in "custom css for desktop".

      then, add this in "custom css for phone version":

      body>.lay-content #custom-phone-grid,
      body>.lay-content #footer-region {
          height: 100%;
          position: fixed;
          top: 0;
          overflow-y: scroll;
          overflow: -moz-scrollbars-none;
          scrollbar-width: none;
          -webkit-overflow-scrolling: touch;
      }
      body>.lay-content #footer-region {
          left: 0;
          width: 50%;
      }
      body>.lay-content #footer{
          box-sizing: border-box;
          min-height: 100%;
      }
      body>.lay-content #custom-phone-grid {
          right: 0;
          width: 50%;
          box-sizing: border-box;
      }
      ::-webkit-scrollbar {
          display: none;
      }
      

      basically its the same css as for the desktop version, but since you're using a custom phone grid layout, were using #custom-phone-grid instead of #grid

      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

      Our Web Development company: 100k.studio

      Want to tip me? https://www.paypal.com/paypalme/arminunruh

      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