maevealleine
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Adding image to Black-Letterhead themeHello:
I am very very much new to this sort of scripting and I’ve followed the instructions above to attempt to place an image on the header for this theme. Can anyone tell me what I might be doing wrong? Here is the code I have below:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
“https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml”><head profile=”https://gmpg.org/xfn/11″>
<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=”RSS 2.0″ href=”<?phpbloginfo(‘rss2_url’); ?>” />
<link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?phpbloginfo(‘rss_url’); ?>” />
<link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?phpbloginfo(‘atom_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php wp_get_archives(‘type=monthly&format=link’); ?><?php wp_head(); ?>
<style type=”text/css” media=”screen”>
BEGIN IMAGE CSS
#header { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>https://www.dragonfyre.net/images/melissameanderings.jpg”) no-repeat bottom center; }
#header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
#headerimg { margin: 7px 9px 0; height: 192px; width: 740px; }
END IMAGE CSS
#headerimg { background: url(‘<?php bloginfo(‘stylesheet_directory’); ?>https://www.dragonfyre.net/images/melissameanderings.jpg’) no-repeat top;}</style>
</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>
<img src=”images/line.gif” width=”433″ height=”1″ alt=”” />I really appreciate any help. Thanks ??