WordPress.org

Support

Support » Themes and Templates » FastNews Light » How to adjust Slider size ?

How to adjust Slider size ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    you can change slider size by add this to functions.php:

    add_filter(‘kopa_get_image_sizes’,’custom_slider_size’);

    function custom_slider_size($size){
    //if you use blog-1 to blog-4
    $size[‘flexslider-image-size’] = array(500, 500, TRUE, __(‘Flexslider Post Image (Kopatheme)’, kopa_get_domain()));
    //if you use blog-5
    $size[‘gallery-image-size’] = array(500, 500, TRUE, __(‘Flexslider Post Image (Kopatheme)’, kopa_get_domain()));

    return $size;
    }

    2 numbers in array is width and height of images in slider, you can change it.

    after all, use plugin Force Regenerate Thumbnail to resize all images

    if you have any question, please create a topic in our forum: http://kopatheme.com/forum

    Kopatheme Support Team

    nothing happens after putting it in funktion.php and using FRT 🙁

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to adjust Slider size ?’ is closed to new replies.
Skip to toolbar