• Resolved micadz

    (@micadz)


    Note to Esmi

    I am also using the Equilibrium template. I did as you instructed here … but it does not seem to work. This is my blog … https://commonpeople.sg/

    Below is the header.php and I also changed the style css as per your instructions:

    <!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" <?php language_attributes(); ?>>
    
    	<head profile="https://gmpg.org/xfn/11">
    
    		<title>
    			<?php if (is_home()) { echo bloginfo('name');
    			} elseif (is_404()) {
    			echo '404 Not Found';
    			} elseif (is_category()) {
    			echo 'Category:'; wp_title('');
    			} elseif (is_search()) {
    			echo 'Search Results';
    			} elseif ( is_day() || is_month() || is_year() ) {
    			echo 'Archives:'; wp_title('');
    			} else {
    			echo wp_title('');
    			}
    			?>
    		</title>
    
    	    <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
    		<meta name="description" content="<?php bloginfo('description') ?>" />
    		<?php if(is_search()) { ?>
    		<meta name="robots" content="noindex, nofollow" />
    	    <?php }?>
    
    		<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
            <!--[if IE 6]>
            <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/ie6.css" media="screen" />
            <![endif]-->
             <!--[if IE 7]>
            <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/ie7.css" media="screen" />
            <![endif]-->
    		<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 if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    		<?php wp_head(); ?>
    
    	</head>
    
    	<body>
    	<div id="page-wrap">
        <div id="top">
    		<h1 class="logo">
    <a>"><img src="https://commonpeople.sg/wp-content/uploads/2009/04/cplogo.jpg" width="340" height="83" alt="<?php bloginfo('name'); ?>" /></a>
    </h1>
    		<ul id="nav">
    		<?php wp_list_pages('title_li='); ?>
    
            </div>
        <div class="clear"></div>

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • A post with my name on it? I’m incredibly flattered but there are loads of people on here who can help just as much (and sometimes a lot more) than I can. ??

    Actually your header looks fine in Firefox. It’s IE that doesn’t like the image url. Do you have FTP access? Could you upload your header image to your theme’s image folder?

    Thread Starter micadz

    (@micadz)

    Thanks. Managed to sort it out … now I have one more problem. The Home, About etc are centered. How do I get them back down so that they align with the bottom of the logo?

    Thread Starter micadz

    (@micadz)

    Thanks. Managed to sort it out … now I have one more problem. The Home, About etc are centered. How do I get them back down so that they align with the bottom of the logo?

    Try editing style.css (line 94) from:

    #nav {
    float:right;
    margin-top:1.2em;
    }

    to

    #nav {
    float:right;
    margin-top:3em;
    }

    If that’s not quite right, just tweak that margin-top until you get the positioning you want.

    Thread Starter micadz

    (@micadz)

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Equilibrium Theme : Logo in Header — QUESTION FOR ESMI’ is closed to new replies.