WordPress Question:
In the “Header Image” section of my WordPress dashboard, it indicates, “Images of exactly 1280 Ã 416 pixels will be used as-is.” But when I upload an image of that size, the image is cropped at the top and bottom (I’m using the Hemingway theme). Plus, when I do an “Inspect Element” on the header image, it indicates the image is only 1214 x 243 pixels. Yet there appears to be no cropping in the x-direction. Both of these are unexpected considering the WordPress instructions on the header page. Can someone shed some light on this?
Thanks in advance.
edit: fwiw my site is www.panyadee.ac.th/test/
Take a look in your theme’s functions.php file for
add_theme_support
. This function registers support for the custom header image. Regarding the width and height of the default image, you can pass some$args
like this:Try making sure that
height
andwidth
are set.Ref: http://codex.wordpress.org/Function_Reference/add_theme_support
WordPress cuts some area to provide an option to crop the uploaded image. You need to extend the bottom area from the cropping region according to your mentioned size.