WordPress.org

Forums

FastNews Light
How to adjust Slider size ? (3 posts)

  1. irshadx9
    Member
    Posted 11 months ago #

    How change the slider size ?

    And

    How to display it only on the homepage ?

  2. KOPATHEME Support
    Member
    Posted 10 months ago #

    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

  3. wpandi123
    Member
    Posted 5 months ago #

    nothing happens after putting it in funktion.php and using FRT :-(

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.