default
theme used by the oik-nivo-slider plugin uses Version 3.2 of the jQuery Nivo slider code. This is a responsive slider that adjusts depending on the size of the image. If you want to set a fixed height to the slider then you will need to write some CSS. This example demonstrates a method using custom CSS to override the CSS for the default
theme.
Example
Here we see a slider displaying two images of different sizes. The slider height is set to a maximum of 268 pixels (class mh268), the width a maximum of 568 pixels (class mw568). The slider will take up a maximum of 70% of the width, allowing for 3% padding on the right; see oik-rwd.
Shortcode
[nivo id=10983,10987 class="w70p3 mw568 mh268"]
Custom CSS
Set maximum height and width
.mw568 { max-width: 568px; }
.mh268 { max-height: 268px; }
Set the initial height for the default theme
.theme-default { padding-top: 38.1831%; height: 0; position:relative; margin-bottom: 25px; }
div .theme-default .nivoSlider { position: absolute; top: 0; bottom: 0; }
div .theme-default .nivo-controlNav { padding: 0px !important; }