WordPress.org

Ready to get started?Download WordPress

Forums

Header image cropping issue (22 posts)

  1. gjindo
    Member
    Posted 3 years ago #

    Alright I am using the RedBel 1.3.1 theme and under the header editing it is saying to select the image and then to crop it on the next page. well no matter what size I resize the image it always maxes out the cropping tool before the end of the image.. there is about a quarter of the image left. Is there something I am doing wrong?

    Thanks for your time.

  2. govpatel
    Member
    Posted 3 years ago #

    Instead of letting wordpress crop the image I make the image to the size that is allowed in header than upload that way you have what you want in header.

  3. gjindo
    Member
    Posted 3 years ago #

    in the header.php file? I have tried that however its not showing a image source code that is currently existing in the file for some reason. and it doesnt allow to just place it and overlap it on the current red banner

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    the default image size for that theme is 1000w x 153h

    I would think if you make an image that size, and use the header image uploader/selector, you wouldn't have to crop at all

    it looks like it also adjusts the header div size to match the image, so maybe if you have an image that is 1000px wide, you can have whatever height you want, but not sure on that

  5. govpatel
    Member
    Posted 3 years ago #

    No it crops the height as well you can make transparent image if its small so that it fills that size or you can re size that image in functions.php
    with this code

    add_filter('twentyten_header_image_height','my_header_height');
    add_filter('twentyten_header_image_width','my_header_width');
    function my_header_height($size){
       return 100;
    }
    function my_header_width($size){
       return 700;
    }

    I have put this code on top after <?php

    than you make change to size I have 100 by 700
    you will have change the theme name in the code.

  6. gjindo
    Member
    Posted 3 years ago #

    Nice I will give that a shot and let you know.. Thanks for the help seriously i appreciate it

  7. gjindo
    Member
    Posted 3 years ago #

    Ok I have input the code in there.. Now what is it that I do with the image... just put the image source code in the header file or try the cropping through the header editor

  8. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    .

  9. gjindo
    Member
    Posted 3 years ago #

    I have also tried the 1000x153 thing and still got the same result which was really confusing

  10. govpatel
    Member
    Posted 3 years ago #

    what size is your logo as you might have to change the sizes couple of places as that image height is controlling your menu as well.

    Do you have a way to make a transparent logo with yours in a layer or create a logo on the red background and have your logo in layer if not can you send the logo and I will make it for you you can click on my name to go to my website.

    The sizes can be changed but than you will have to change your menu in style.css.

  11. gjindo
    Member
    Posted 3 years ago #

    I would appreciate it if you can do that for me. I tried contacting you on your website. it kept saying invalid input - spam? for some reason

  12. gjindo
    Member
    Posted 3 years ago #

    If its not too much I would appreciate the help.. I am still stuck on this issue

  13. govpatel
    Member
    Posted 3 years ago #

    I need to see your url and see where the problem is to guide you more it can be done, without seeing the problem its hard to help you.

  14. gjindo
    Member
    Posted 3 years ago #

    The red banner at the top is where im trying to input the image.

    http://stopping4closures.com

  15. govpatel
    Member
    Posted 3 years ago #

    I know that I need to see the image that you want to put there.
    if you upload image in media and than click on the image and put url that is bottom in here.

  16. gjindo
    Member
    Posted 3 years ago #

  17. gjindo
    Member
    Posted 3 years ago #

    The Problem I will have is the background image is some of the banner is red while the banner is a close red to it unless there is a way to change the color of that one...

    oh i dunno if this matters but I used photoshop for the banner and I use fireworks to open it up.. its a PNG file

  18. govpatel
    Member
    Posted 3 years ago #

    Is this what you looking for http://govpatel.com/wordpress

    If so and you know how to use photo shop save the header background image that is 1000 by 153 than paste your logo as a layer on that background image position as you want save ir as your logo and upload as header.

  19. gjindo
    Member
    Posted 3 years ago #

    yes that is exactly what I am looking for....

    so just save the default red image and paste the banner over that as a layer and then save as 1000 by 153 and then just upload it through the header uploader?

    does the pixels per inch matter on that or no? I know websites can only show something like 172 pixels per inch anyway or something like that

  20. govpatel
    Member
    Posted 3 years ago #

    All did was just copy as layer you can always position your logo where you want on that background

  21. gjindo
    Member
    Posted 3 years ago #

    Ok I think I got confused... am I copying as layer for my logo?

  22. Sachin Mishra
    Member
    Posted 3 years ago #

    Awesome job...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags