So I had three slide having same HTML.
Third slide height was automatically adjusing to 250 or so. where as all my slides were of same size
In the demo also the third slide is reducing.

I did following to each slide to fix the issue
<div class="slider-item" "style=height:300px;">

Comments

gtsopour’s picture

Hello nksahu,

if you want a custom height for all slider items, just comment the //after: onAfter option inside your template.php (sites/all/themes/corporateclean/template.php) and set your custom height.

Change from

$("#slideshow").cycle({
fx:    "'.$effect.'",
speed:  "slow",
timeout: "'.$effect_time.'",
pager:  "#slider-navigation",
pagerAnchorBuilder: function(idx, slide) {
return "#slider-navigation li:eq(" + (idx) + ") a";
},
height: 300,
after: onAfter
});

To

$("#slideshow").cycle({
fx:    "'.$effect.'",
speed:  "slow",
timeout: "'.$effect_time.'",
pager:  "#slider-navigation",
pagerAnchorBuilder: function(idx, slide) {
return "#slider-navigation li:eq(" + (idx) + ") a";
},
height: 300
//after: onAfter
});

After this, just clear you Drupal's cache by clicking the 'Clear all caches' button through Home » Administration » Configuration » Performance

Thanks
/George