Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #51186

    Hi @Sakin

    I want to make my images on the featured post slider occupy the all size, i tried adding some function to my child´s theme function file and when i put a 16:9 aspect ratio image works nice, but when i put another aspect ratio image it makes smaller and leaves an empty zone, how can i make those images fill the empty zone, even i they are scaled and look stretched. You can have a look at mi site slider to look what i mean. My site URL

    Lots of thanks and best wishes

    #51212

    Im sorry @Sakin fixed the problem on my own changing

    function catchbox_child_theme_setup() {
        add_image_size( 'featured-slider', 628, 353, false );
    }
    add_action( 'after_setup_theme', 'catchbox_child_theme_setup', 11 );

    to

    function catchbox_child_theme_setup() {
        add_image_size( 'featured-slider', 628, 353, true );
    }
    add_action( 'after_setup_theme', 'catchbox_child_theme_setup', 11 );

    that change of false to true did the trick ^^

    Thank you anyways

    #51234
    Sakin
    Keymaster

    @MasterManiacs: Which version of Catch Box Theme are you using it. As our latest version has image size for featured slider is
    add_image_size( 'featured-slider', 644, 320, true );

    #51265

    I am using the last version, but i changed the content width, so i changed the image size value to fit well on content. Anyways everything solved.

    Thanks for ur attention

    #51270
    Sakin
    Keymaster

    @MasterManiacs: Thanks 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Featured post slider image size’ is closed to new replies.