Home › Forums › Support › Image is smaller when caption is used This topic has 3 replies, 2 voices, and was last updated 7 years ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts September 9, 2016 at 6:24 am #225210 Nikola Hello, When the image caption is used an image is getting smaller, for 10px in width. It is the case in both pages and posts. I tested it several times. Any way to fix this? Thank you. September 9, 2016 at 9:59 am #225261 TomLead 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' ); } September 9, 2016 at 1:51 pm #225311 Nikola You always have correct answer to any question. ๐ Thank you! September 9, 2016 at 8:30 pm #225339 TomLead Developer Lead Developer No problem! ๐ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In