Home › Forums › Support › Image is smaller when caption is used › Reply To: Image is smaller when caption is used
September 9, 2016 at 9:59 am
#225261
Tom
Lead Developer
Lead Developer
WordPress sets a fixed width to images with captions.
You could try something like this:
add_action( 'after_setup_theme','generate_change_caption_padding' );
function generate_change_caption_padding()
{
remove_filter( 'img_caption_shortcode_width', 'generate_remove_caption_padding' );
}