Different size image for featured and slider

Hi,

We want the slider image to be 1920x550 but is it possible to make the featured image within a post a different size as it looks to wide and short for the preview image.

Thanks

Hi @fantana,

I hope you are well today and thank you for your question.

We want the slider image to be 1920×550

You can try achieving this by using the attached custom child theme of Dazzling theme.

but is it possible to make the featured image within a post a different size as it looks to wide and short for the preview image.

Yes it’s possible to achieve this by adding the following code in the functions.php file of shared child theme.

function  custom_dazzling_setup(){
    add_image_size( 'dazzling-featured', 710, 400, true );
}
add_action( 'after_setup_theme', 'custom_dazzling_setup',99 );

You can edit the width 710 and height 400 of featured image in the above code.

Best Regards,
Movin

Hi ,

I can not arrange pictures into a slide to 1920 x 550 .

I 've tried the above, the function of my own child theme to add to the dazzling theme function . but it did not work .

explanation please.

thank you

this my site sman1rengatbarat.sch.id

@samsul It seems you are doing it wrong.

You are using the solution shared for the second question that is using function custom_dazzling_setup instead you should just use the shared child theme on your site.

After using the shared child theme please regenerate the image sizes on your site using the following plugin.