oik
theme.
If you want to set the initial height of the slider then you will need to write some CSS. This example demonstrates a method to override the CSS for the oik
theme.
Example
[div class=w50p0]
[nivo id=10983,10987 theme=oik class="initial"]
[ediv]
Custom CSS
.initial { padding-bottom: 38.1831% !important; height: 0; }
Notes
- This CSS only sets the initial height of the slider.
- It still adjusts its height for different images.
- This can cause problems if the first image is not the largest.
- The custom CSS for
theme=oik
is the same as for thedefault
theme