• Resolved Shadowz

    (@shadowz)


    In the Twenty Ten theme the header image is set to 940 x 198 pixels as well as the feature image, i assume there relative to each other. However i would like to make the height a bit longer to maybe 940 x 230 and make it do this to the featured images and header image. However i seem to be able to get the header to change useing the function.php in Twenty ten theme on line 219 and 221. Yet this doesnt seem to effect the featured image size it still stays to 940 x 198. I use featured images on diffrent pages. I have tried makeing the featured image 940 x 230 but it doesnt seem to help, since i thought it might have to do with the auto cropping.

    So is there any other code i might be missing that the featured image is using, anything would be helpful, i done a lot of researching and didnt seem to find much info about featured images i guess since there new.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael Wiginton

    (@roseapplemedia)

    Are you sure you have a Twenty Ten theme?

    The line should be on 111

    define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyten_header_image_height', 198 ) );

    Changing the 198 is all it should need.

    Note:
    Changing this value will not retrospectivly update images you have already set, you would need to upload new ones!

    HTH

    David

    Thread Starter Shadowz

    (@shadowz)

    Yeah im pretty sure i have a twenty ten theme, i actually even just redownloaded it and replaced the function.php with the latest one. Though i am using an edited page of posts template on the pages so not sure if that effects it. Also i havent uploaded anything new so i might try that didnt think about that. makes since since changing the number did make the default header change but not the uploaded featured images.

    Thread Starter Shadowz

    (@shadowz)

    WOW it was that simple, i new it couldnt be that hard. deleteing the photo and then changing the size, then re uploading it let it auto crop it to the right size. Thank You So Much. Can’t believe i’ve spent 5 days trying to figure this out. Should of written this post on the first day.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Changing Twenty Ten Featured Image & Header Size’ is closed to new replies.