WordPress.org

Ready to get started?Download WordPress

Forums

WP-Creativix
HEADER IMAGE WILL NOT DISPLAY (13 posts)

  1. schwenkd
    Member
    Posted 2 years ago #

    For the life of me, I cant figure out why I can't get the header image to display.
    Is there some trick to get this to work?

    (((((Please Help)))))

    http://wordpress.org/extend/themes/wp-creativix/

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    what header image?

    it will help if you post a link to your site to illustrate the problem.

  3. schwenkd
    Member
    Posted 2 years ago #

    This site is still a work in progress, but here is the site.
    http://www.mediaranch.net/photo

    And here is a link to a screengrab of the header section within the admin section where I have told it what header to use. The header image is 155x520, jpg format.

    http://www.mediaranch.net/photo/HeaderScreenGrab.png

    Thank you so much for your help.

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    I had a look at the theme, and in my opinion, the theme author has prematurely added the header option into the admin area, but not implemented the respective code into the header.php template.

    the theme is possibly is not programmed to use a custom header.

    I'll need a bit longer to check this.

    can you provide a graphic mock-up how you want the header image to be?

  5. schwenkd
    Member
    Posted 2 years ago #

    I was hoping that the header would look something like this...
    http://www.mediaranch.net/photo/HeaderExample.jpg

    Where I could upload a image that would lay in back of that Top Nav bar and span the entire width of the site (912 px or something). I would have to comb through the style.php file to figure out what the actually width of the site is.

    I don't need to be able to put a logo in and header text. I would just do that when I created the header.jpg file.

    Hopefully that makes sense?
    Thank you again for your help.

  6. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    here is a modified header.php to allow the use of an uploaded dashboard - appearance - header header image:
    http://pastebin.com/7UCQm1Yy

    (basically a copy the respective code from Twenty Eleven, section removed which would automatically grab the featured image in single posts or pages, included the existing title (logo) section as alternative if no header image is selected. - not tested with all possible theme options - particular the 'Styling Settings' options were left on default or empty)

    adjustment of the image size in functions.php (you need to adjust that to the exact size for your design):

    define( 'HEADER_IMAGE_WIDTH', apply_filters( '', 920 ) );
    
    define( 'HEADER_IMAGE_HEIGHT', apply_filters( '', 155 ) );

    adjustment to style.php, add this style:

    #header img { width: 920px; height:auto; margin-left: 10px; }

    you might need to adjust the position of the navigation;
    for example:

    .navigation {
    right: 12px;
    bottom: 8px; }

    good luck ;-)

  7. schwenkd
    Member
    Posted 2 years ago #

    alchymyth, YOUR ARE INCREDIBLE!!
    Thank you so much for taking this on and looking into it for me. I owe you big time and a few pints. :-) I will start updating the files and shoot you a post once it is done. Again, thank you thank you thank you. You are AWESOME.

  8. judetheobscure
    Member
    Posted 2 years ago #

    Oh - this sounds good.

    So newbie questions.

    I replace my header.php with the one in your link (just the top section of it?)

    Then in functions.php I edit to my image size. Is 920px the default size?

    And in style.php I add that line - can it go anywhere?
    And still in style.php(?) I may need to alter those navigation settings if the nav.bar is not straight?

  9. jjsbetteroff
    Member
    Posted 1 year ago #

    this theme seems to be pretty crap if you need to be screwing around with php just to sort out the header.

  10. judetheobscure
    Member
    Posted 1 year ago #

    I gave up with it as support from the theme creator was lacking.

  11. nerdstoknow
    Member
    Posted 1 year ago #

    Thanks alchymyth. You rock.

  12. simtek@meetings.simtek.com.au
    Member
    Posted 1 year ago #

    I am getting stretched images in the header. I have changed the header area to go all the way across - ie. to 850px (x210px).

    I have uploaded all different sizes of images so they are the correct size for what I've made the header, but they always come out the same stretched size. I can't seem to work out where the code is that's stretching the image. I think something may be overiding it.

    Can you help?
    http://pardoengineering.com.au/news/

  13. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @simtek, per the forum guidelines, please start your own thread rather than repeatedly posting in old threads. Asking your question in multiple places makes it very hard for anyone to help you.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic