Fixed height possible?
-
I’m trying to use the slider in a responsive theme to display images in the header.
I would like the images to maintain their height with a varying width. I’ve tried using
.metaslider .nivo-main-image, .metaslider .nivo-slice, .metaslider img{
height: 250px;
}in CSS to set the height. It works until the image changes, but then I see that height has gone back to ‘auto’ when using the element inspector in Safari. I assume that this is happening in the javascript of the plugin (i.e. recalculation).
Is there any way to overide this? I suspect not but would like confirmation.
Thanks in advance
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fixed height possible?’ is closed to new replies.