Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #14755

    Hi!

    when I upload a portrait image in the background gallery it streches it to the full height of the screen. Can I set a fixed height so that it stays in its original size?

    #84773

    Hello,

    Can you post a link to your website?

    .avia_fullscreen_slider li img {
    position: relative;
    display: block
    margin:0 auto;
    width: 900px;
    height: auto;
    }

    .avia_fullscreen_slider canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 900px;
    height: auto;
    }

    I’m not sure if this what you want.

    Regards,

    Ismael

    #84774

    Thanks for replying!

    The link is http://www.kentfurnes.com/

    The first image is a portrait thats 400px high. I want it to remain 400px, but instead it gets streched to fit the screen. Why?

    #84775

    CSS did the trick regarding size, but now images are crammed into the top left corner. How do I center them on screen?

    #84776

    Hi collargoll,

    I believe you can also change the setting for the main background gallery in your theme settings to display without cropping. So go to General Settings>Background Gallery Image Cropping/resizing and then select Images should be display without cropping as well as temporarily removing the css from Ismael and see if that gets things looking right for you.

    Regards,

    Devin

    #84777

    I’ve tried that Devin. Still gets streched the entire hight of the screen. Seem like it still streches vertical but not horisontal when displayed without cropping, and no additional css.

    #84778

    Hi!

    The slider does not support fixed dimensions (width/height) at the moment. I’ll report your feature request to Kriesi though.

    Best regards,

    Peter

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Image height in portrait-mode’ is closed to new replies.