Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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 133 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 Offline
    D Offline
    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 Offline
      RichardR Offline
      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 Offline
        D Offline
        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 Offline
          RichardR Offline
          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
          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

          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
          A
          alasdair17
          arminunruhA
          arminunruh
          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