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. Image layout on iPad

Image layout on iPad

Scheduled Pinned Locked Moved General Discussion
9 Posts 2 Posters 2.1k Views 1 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
    M
    marshall
    wrote on last edited by
    #1

    Hey guys,

    I'm having a lot of trouble when looking at my website on an iPad.

    www.petermarshall-photography.com
    password: Jol1956p@

    When you click on the images on an iPad they have very little space at the top, and are not arranged on the page the way they appear on a laptop. It looks quite strange.

    I though about using code to create some sort of top margin that specifically targets the ratio of an iPad screen like this:

    @media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
    .ipad-portrait { margin-top: 2cm; }
    }
    @media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
    .ipad-landscape { margin-top: 2cm; }
    }

    but I am not having any luck!

    Any help would be really appreciated :))

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

      Hi @marshall

      The password does not work :-)

      Can you check this?

      Many wishes!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • M
        M
        marshall
        wrote on last edited by
        #3

        Hey @mariusjopen

        Sorry, I'm juggling so many passwords right now! The one you need is Fre1960a@

        Thanks for looking into this for me!

        1 Reply Last reply
        0
        • M
          M
          marshall
          wrote on last edited by
          #4

          Hey @mariusjopen , do you have any advice?

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

            Hi @marshall
            ok. I had a look also on an iPad.

            I cannot really see what you mean.

            Can you provide us with screenshots and show what exactly you mean?

            Thank you!

            Marius

            www.mariusjopen.world

            1 Reply Last reply
            0
            • M
              M
              marshall
              wrote on last edited by
              #6

              0_1517402639755_IMG_0637.PNG

              Hey @mariusjopen ,

              Here you go - this is how it is displayed on an iPad. As you can see, the image is very close to the top, with white space underneath. I like how the image is positioned on a computer/laptop screen (it has more space at the top), but really would like to shift it down when it is viewed on an iPad.

              Thanks so much for your help!

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

                Hi @marshall

                on my macbook the image is like in your iPad. On the very top of the screen.

                Have a look:
                0_1517543977866_Bildschirmfoto 2018-02-02 um 01.58.42 Kopie.jpg

                Here you can change the distance from the Gridder to the top:
                0_1517544024928_Bildschirmfoto 2018-02-02 um 02.00.01.png

                TO only move it on the iPad you might need to use special mediaqueries. I cannot tell you now which ones you will need. But you can easily find out and test them.
                You can just add them into the custom CSS.
                Google: CSS media queries iPad size

                Then you can make specific CSS changes only for the iPad

                All the best!
                And good luck!

                Marius

                www.mariusjopen.world

                1 Reply Last reply
                0
                • M
                  M
                  marshall
                  wrote on last edited by
                  #8

                  Great! I managed to change it. Thanks!

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

                    Wonderful!

                    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
                    J
                    j.varela
                    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