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. Spaces iPad landscape / portrait mode

Spaces iPad landscape / portrait mode

Scheduled Pinned Locked Moved Bug Reports
4 Posts 2 Posters 686 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.
  • D
    D
    dingdong
    wrote on last edited by
    #1

    Hi!
    I have some trouble with my website www.mikeabmaier.com on an ipad (especially in portrait mode). i use the desktop version for ipad.
    the space between navigation and content is much smaller in portrait mode?!
    is it because of the % instead of px? because in portrait mode 5% are much less than in landscape mode? if yes, can u please tell me how / where to fix that??
    THX

    Landscape looks good like the "real desktop version"
    alt text

    In portrait mode the space is not the same / much too small?!
    alt text

    1 Reply Last reply
    0
    • RichardR
      RichardR
      Richard
      Global Moderator
      wrote on last edited by Richard
      #2

      Dear @dingdong

      You are correct. 🌝
      I can confirm that the "padding top of 7%" doesn't change:
      Screen Shot 2021-09-17 at 12.24.10 PM.png

      however because of portrait versus landscape the 7% is calculated differently based on its parent.

      The parent container "lay-content" is given a 'min-height of 100vh' (100 viewport height). Therefore a 7% padding will change based on the dimensions of what that parent 100vh means. EDIT:

      "A percentage value on top/bottom padding or margins is relative to the width of the containing block"

      With portrait mode 7% equal less pixel distance. On Landscape 7% is calculated as a different pixel distance.

      To remedy this issue i would suggest using pixels for your frame top (padding-top) because pixels are a fixed measurements (mostly.. depending on device)

      In > Lay Options > Gridder Defaults > you can change the % to px for the frame-top.
      Screen Shot 2021-09-17 at 12.33.01 PM.png


      Hope this helps @dingdong & have a wonderful day! 🏖
      Richard
      1 Reply Last reply
      0
      • D
        D
        dingdong
        wrote on last edited by
        #3

        thx that worked.
        sadly it was a little bit of work, because all manual set row gutters get applied too...
        thanks anyway :)

        1 Reply Last reply
        0
        • RichardR
          RichardR
          Richard
          Global Moderator
          wrote on last edited by
          #4

          Thanks for the update @dingdong 🌝
          Sorry that it functions with all Gutters and the time involved.


          Best wishes
          Richard
          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
          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