WordPress.org

Ready to get started?Download WordPress

Forums

2013 theme keeps cropping header image! (14 posts)

  1. abbyj
    Member
    Posted 9 months ago #

    I have tried every size for my custom image and no matter what WP wants to crop height, not width, even if I make height 90 pixels.
    What am I doing wrong?
    thanks

  2. WPyogi
    Volunteer Moderator
    Posted 9 months ago #

    It's not simple to change this - make sure you are using a child theme too:

    http://wordpress.org/support/topic/massive-headers?replies=16

  3. abbyj
    Member
    Posted 9 months ago #

    hello moderator, maybe I'm not clear? No matter how small I make the custom header image that I upload, WP still wants to crop it. I just tried an image 50 pixels high!
    What is the optimum size for my header image?
    I do not want to edit php.
    thanks

  4. Andrew
    Forum Moderator
    Posted 9 months ago #

    WPyogi's saying that to resolve this you need to make several code changes.

  5. abbyj
    Member
    Posted 9 months ago #

    to resolve what? There must be a way to upload a correctly sized image as a header. After all the instructions are right there! So why is every size image that I try need to be cropped?
    Are you saying there is NO image size that I can upload that does not require me to make code changes??

  6. esmi
    Forum Moderator
    Posted 9 months ago #

    to resolve what?

    Your problem. Navigate to Appearance -> Header. Now, read the text on that page:

    You can select an image to be shown at the top of your site by uploading from your computer or choosing from your media library. After selecting an image you will be able to crop it.
    Images of exactly 1600 × 230 pixels will be used as-is.

    So you need to upload an image that is exactly 1600 × 230 pixels if you do not want any cropping.

  7. abbyj
    Member
    Posted 9 months ago #

    ok guys. I resized my image to 230 pixels high and 754 pixels wide.
    WP still wants to crop the height of the image in half!
    I feel I am speaking another language here! help! what am I missing???

  8. esmi
    Forum Moderator
    Posted 9 months ago #

    I resized my image to 230 pixels high and 754 pixels wide.

    Which part of "you need to upload an image that is exactly 1600 × 230 pixels if you do not want any cropping" are you having a problem with?

  9. abbyj
    Member
    Posted 9 months ago #

    btw, I tried the 2012 theme, and it used the image, but it displayed the header image below the menu. :-{

  10. WPyogi
    Volunteer Moderator
    Posted 9 months ago #

    Are you saying there is NO image size that I can upload that does not require me to make code changes??

    Correct - did you read the thread I linked to above?

  11. abbyj
    Member
    Posted 9 months ago #

    to esmi: umm, the part where I am actually using an image that is smaller than 1600 px x 230 px?

  12. WPyogi
    Volunteer Moderator
    Posted 9 months ago #

    btw, I tried the 2012 theme, and it used the image, but it displayed the header image below the menu. :-{

    Yes, that's how that theme is coded - you can change that too - but you'll need to make a child theme and modify the header.php file.

  13. abbyj
    Member
    Posted 9 months ago #

    I am totally confused.
    So what it appears to me that WPyogi is saying is that, even though the WP admin panel actually has a page (appearance - header) - and it has a button to select image, and then to publish, that one cannot actually do that, no matter what the size of the image that I'm selecting, unless I edit the header.php?

  14. WPyogi
    Volunteer Moderator
    Posted 9 months ago #

    Yes, that's correct and you're not the only person to be unhappy with that - that's why esmi posted a work-around as explained in the thread I posted.

    If you don't like that, there are MANY other themes to pick from here:

    http://wordpress.org/themes/

Reply

You must log in to post.

About this Topic