WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Adding logo in Copyblogger Theme won't work in Explorer (2 posts)

  1. babel2009
    Member
    Posted 5 years ago #

    What I want to do is add a graphic to the header in place of the text, and for that graphic to be clickable. I settled on linking to the graphic from the header.php file, within the div tags, like so:

    </head>
    <body class="custom">
    
    <div id="header">
    	<div id="logo">
    		<a href="<?php bloginfo('url'); ?>"<img src="http://myblog.com/blog/wp-content/themes/copyblogger/images/mylogo.png" width="432" height="54" alt="My Logo"></a>
    		<?php if (is_home()) { ?>
    		<h1><?php bloginfo('description'); ?></h1>
    		<?php } else { ?>
    		<p id="tagline"><?php bloginfo('description'); ?>
    
    		<?php } ?>
    	</div>
    </div>

    It works perfect –except in internet explorer. It just does not show up in IE at all.

    Do I have to mod something in the header.php to make the graphic show up in IE? or in some other file?

  2. babel2009
    Member
    Posted 5 years ago #

    Fixed this. I was only missing a ">" at the end of the first "" tag.

Topic Closed

This topic has been closed to new replies.

About this Topic