nivo slider image resize issue
Asked Answered
M

3

6

I have nivo slider in my web page. I need to display images of various width and height.The larger image displays behind the smaller image. Please refer the following screenshot.

enter image description here

I have to remove displaying larger image behind the small image. Is there any possibility to do it with nivo slider?

Matt answered 29/5, 2012 at 9:45 Comment(2)
As I know, nivo slider needs images to be same sized. The sizes are mentioned in the css file.Compurgation
The images are coming from back end and i shouldn't mention the sizes.Matt
T
10

I used this and it's worked :)

.theme-default .nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
    width: 556px;
    height: 183px !important;
}
Trophoblast answered 6/7, 2012 at 10:46 Comment(1)
How could I resize the image with 100% width and height? I set width: 100% but couldn't work.Eger
L
3

add this

<style>
    .slider-wrapper,.nivoSlider , img{
        width:500px;
        height:200px;
        margin-bottom:0px !important;
        border-radius:10px;
    }
</style>
Licit answered 24/6, 2012 at 17:53 Comment(0)
F
0
.theme-navigation-inside .nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
    height: auto;
}

I fhound this took care of the problem

Flowerless answered 22/3, 2013 at 5:52 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.