• Hey,
    I’m trying to get the “personalheader.jpg” to work it says this under the header.php

    /* To ease the insertion of a personal header image, I have done it in such a way,
    that you simply drop in an image called ‘personalheader.jpg’ into your /images/
    directory. Dimensions should be at least 760px x 200px. Anything above that will
    get cropped off of the image. */

    I have put my header image under the folder and named it accordingly, I’m jsut working on creating the site so I’m hoping I can get this issuse resolved fairly quickly my sites address is at
    https://ncf.gordiehannan.com/
    and the header image is at https://ncf.gordiehannan.com/wp-content/themes/default/images/
    then click on personalheader.jpg

    any help would be greatly appreciated

Viewing 5 replies - 1 through 5 (of 5 total)
  • In header.php is this little chunk of code:
    <style type='text/css'>
    <!--#header { background: url('https://www.ncf.gordiehannan.com/wp-content/themes/default/images/header-img.php?upper=000000&lower=990000') no-repeat bottom center; }
    #headerimg h1 a, #headerimg h1 a:visited, #headerimg .description { color: white; }
    #headerimg { display: none }
    --></style>

    Delete it.
    Your image should then appear.
    And so will the name of your blog just where you do not want it.
    To beat that, but this at th bottom of your css file:

    #header h1 {
    text-indent:-100em;
    }

    It must go at the bottom though.

    That should sort it all ?

    Thread Starter gordie

    (@gordie)

    That is not under here below is the code used…

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;

    <head profile=”https://gmpg.org/xfn/11″&gt;
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />

    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –>

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />

    <style type=”text/css” media=”screen”>
    /* To accomodate differing install paths of WordPress, images are referred only here,
    and not in the wp-layout.css file. If you prefer to use only CSS for colors and what
    not, then go right ahead and delete the following lines, and the image files. */

    body { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgcolor.jpg”); }
    <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single())) { ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbg.jpg”) repeat-y top; border: none; }
    <?php } else { // No sidebar ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgwide.jpg”) repeat-y top; border: none; }
    <?php } ?>
    #header { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickheader.jpg”) no-repeat bottom center; }
    #footer { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickfooter.jpg”) no-repeat bottom; border: none;}

    /* Because the template is slightly different, size-wise, with images, this needs to be set here
    If you don’t want to use the template’s images, you can also delete the following two lines. */

    #header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }

    #headerimg { margin: 7px 9px 0; height: 192px; width: 740px; }

    /* To ease the insertion of a personal header image, I have done it in such a way,
    that you simply drop in an image called ‘personalheader.jpg’ into your /images/
    directory. Dimensions should be at least 760px x 200px. Anything above that will
    get cropped off of the image. */

    #headerimg { background: url(‘<?php bloginfo(‘stylesheet_directory’); ?>/images/personalheader.jpg’) no-repeat top;}

    </style>

    <?php wp_head(); ?>
    </head>
    <body>
    <div id=”page”>

    <div id=”header”>
    <div id=”headerimg”>
    <h1>/”><?php bloginfo(‘name’); ?></h1>
    <div class=”description”><?php bloginfo(‘description’); ?></div>
    </div>
    </div>
    <hr />

    I’m stuck with this problem as well. I use a Mac and usually edit all my files via my ftp program, Transmit. When I try to edit the header file I get this message:

    <?php

    if (! isset($wp_did_header)):
    if ( !file_exists( dirname(__FILE__) . ‘/wp-config.php’) ) {
    if ( strstr( $_SERVER[‘PHP_SELF’], ‘wp-admin’) ) $path = ”;
    else $path = ‘wp-admin/’;
    die(“There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.”);
    }

    $wp_did_header = true;

    require_once( dirname(__FILE__) . ‘/wp-config.php’);

    wp();
    gzip_compression();

    require_once(ABSPATH . WPINC . ‘/template-loader.php’);

    endif;

    ?>

    This is not a lot of help. How do I create the required code file and where do I upload it too?

    Why is it so difficult to change the header – it sounds simple enough in the instructions, until you actually try to go in and make what at first glance, appears to be an easy edit. Why are the files not editable?

    Can anyone help? I see that others have a personal header on their blog, and I’d love to have one too.

    Feeling somewhat desperate here!

    Edited to add – WordPress is part of my Fantastico control panel at through my webhost – the files are already uploaded on the server but I can’t edit them. Send help!

    <We’d like to help you out Shootsie – how did you get in??? :0) >

    I’d suggest you go look over the absolute plethora of other themes available at https://themes.www.ads-software.com/, 99% of which are easier to customize than the default.

    Pick one that’s laid out like you want, that’s got colors you like, install and go from there.

    bozzy

    (@bozzy)

    I got it to work by the following the directions on this page

    https://codex.www.ads-software.com/Designing_Headers

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Personal Header?’ is closed to new replies.