• I need to add things to the header in the following theme:

    https://www.templatemonster.com/wordpress-themes/19503.html

    There is a gif in the header called “slogan.gif”. I’m wondering if I can enlarge it to put a picture of the site owner so the picture will go in between the text and the globe.

    Here is the php coding for the header:

    ————————————
    <!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&#8221; <?php language_attributes(); ?>>

    <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’); ?>” />
    <?php wp_head(); ?>

    </head>
    <body>
    <div class=”min_width”>
    <div class=”main”>
    <!–header –>
    <div id=”header”>
    <div class=”block_top”>
    <div class=”indent”>
    <span class=”slogan”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/slogan.gif” alt=”” />
    </span>
    <div class=”logo”>
    <h1>/” ><?php bloginfo(‘name’); ?></h1>
    <div><span><?php bloginfo(‘description’); ?></span></div>
    </div>
    <div class=”clear”></div>
    </div>
    </div>
    <div class=”menu”>

      <?php wp_list_pages(‘title_li=’); ?>

    <div class=”clear”></div>
    </div>
    <div class=”block_search”>
    <?php include (TEMPLATEPATH . “/searchform.php”); ?>
    </div>
    <div class=”clear”></div>
    </div>
    <!–header end–>
    <!–content –>
    <div class=”content”>
    <div class=”indent”>
    <div class=”w100″>
    ————————————

    I hope it’s OK to post the code.

    By looking at the code, is it OK to at least double the width and increase the height of “slogan.gif” so I can put a picture on it that will appear to be in the middle of the page, and be flush with the top and bottom of the black strip?

Viewing 1 replies (of 1 total)
  • Thread Starter LABachlr

    (@labachlr)

    I just tried it and the new image was way off center.

    The dimensions of the original gif is W332 X H166.

    The dimensions of the new gif is W600 X H310.

    What do I have to change in the coding so the new gif will be correctly placed in the header?

Viewing 1 replies (of 1 total)
  • The topic ‘Need help customizing header of template’ is closed to new replies.