Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #55672
    Jan
    Member

    Hi,

    id like to have image slider only to certain point of the page. Ive added such code into the Custom CSS filed in Theme Options:
    [code]
    #feature-slider .slides { width: 100%; height: 75%; }
    #feature-slider .entry-container { display: none; }
    [/code]

    But it turns off the slider completely. When i replace “75%” with something like “500px” it works perfect. But i`d much more like to have the image covering like 75% of the screen, regardless of the screen resolution.

    #55679
    Sakin
    Keymaster

    @Jan: The height if your image in the slider depends on the image you have uploaded. Just upload the larger image if you need large image. Height will not work like that in percentage.

    #55680
    Jan
    Member

    Thanx for the answer. So there is no way that slider`s height will change as screen resolution changes?

    #55681
    Sakin
    Keymaster

    @Jan: The height will be changed automatically as per the width in responsive design. Either height or width needs to be auto. But for responsive design height should be auto.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Responsive image slider height’ is closed to new replies.