Before you ask please READ THIS

Strange image size on mobile for slider

edited October 2014 in Blame Posts: 62
Hi Air,

When I play a slider gallery on ipad (vertical mode) the vertical images look really strange. It doesn't fill the whole page and they are too small. Pls see an attached print-screen. The same image in horizontal mode looks fine.
Thank you!
photo.jpg
768 x 1024 - 58K

Comments

  • AirAir
    Posts: 10,970
    Hello:-)

    What is your setting "Fit images" in this gallery?

    With regards.
  • I tried Fit always and Fit when needed. No luck.
  • AirAir
    Posts: 10,970
    I understand you don't like that is so small under 800px of screen width.
    Currently it is set to max-height of 300px, so user can will see whole image on most devices, without need to scroll. However you can use this CSS to overwrite this rule

    @media only screen and (max-width: 800px) {
    .single-work .in-post-slider{
    max-height: none;
    }
    With regards.
  • It worked for Ipad. I like it. BUT now I have a lot of negative space between the image and header/footer on Iphone (image itself is ok, but this space)!!!
  • AirAir
    Posts: 10,970
    Most of space under slider is empty content. If you don't fill content in "Description content position : under images" then use this CSS to hide it:
    .content-under .work-content {
    display: none;
    }
    Also if you are still not happy then use this CSS to reduce slider max-height

    @media only screen and (max-width: 480px) {
    .single-work .in-post-slider{
    max-height: 400px;
    }
    Hope this will fix everything for you :-)

    With regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!