WordPress.org

Support

Support » Themes and Templates » [Theme: WP-Creativix] HEADER IMAGE WILL NOT DISPLAY

[Theme: WP-Creativix] HEADER IMAGE WILL NOT DISPLAY

Viewing 12 replies - 1 through 12 (of 12 total)
  • Michael
    Forum Moderator

    @alchymyth

    what header image?

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

    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 155×520, jpg format.

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

    Thank you so much for your help.

    Michael
    Forum Moderator

    @alchymyth

    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?

    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.

    Michael
    Forum Moderator

    @alchymyth

    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 😉

    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.

    judetheobscure
    Member

    @judetheobscure

    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?

    jjsbetteroff
    Member

    @jjsbetteroff

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

    judetheobscure
    Member

    @judetheobscure

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

    nerdstoknow
    Member

    @nerdstoknow

    Thanks alchymyth. You rock.

    simtek@meetings.simtek.com.au
    Member

    @simtekmeetingssimtekcomau

    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/

    WPyogi
    Forum Moderator

    @wpyogi

    @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.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Theme: WP-Creativix] HEADER IMAGE WILL NOT DISPLAY’ is closed to new replies.