slider height requirements
URL to the page in question:
-
How do I change the min height requirements for the slider. I want to keep the width but shorten the height, thanks
Marcelo,
Great question. Here’s how to make that change.
- Go to the appearance section and select edit to open up the theme editor.
- From the list of files on your right, choose ot-cycle.php. Near the top you’ll see this:
$ot_cycle_defaults = apply_filters('ot_cycle_defaults', array(
'rotate' => 1,
'effect' => 'fade',
'delay' => 3,
'duration' => 1,
'img_width' => 870,
'img_height' => 430,
'div' => 'slider'
));
- You can change the 430 in this line
'img_height' => 430,
to have a different height in pixels.
- Save your changes.
- Lastly go to the slideshow page in your WordPress control panel and click “reset settings.
Now the images that you upload will have the new height. If you run into trouble, just let me know.
Enjoy your week,
Bill
- The topic ‘slider height requirements’ is closed to new replies.