How to insert Logo Image into Header but top the right of blog title... (1 post)

  1. Barezi
    Posted 3 years ago #

    Hi there,

    I'm currently using PILOT FISH theme and I am wondering if it is possible for someone to tell me how to insert an image logo into the header but to the right of my blog title. The title of the blog is speakwritereadenglish and there is space for a small logo on the right of this title (http://www.speakwritereadenglish.com ...take a look) and I would like to place a small logo.

    I've uploaded it to my images file on the theme. It is currently a huge 1000x1350 JPEG...the logo is flag shaped and is very simple....just a lotus flower in the middle. What size should I insert it into the php as?

    Also, I could do with the actual coding/html/css to do this if you would be so kind.

    Here is the header.php coding as it is at the moment:

     * Header Template
     * @file           header.php
     * @package        Pilot Fish
     * @filesource     wp-content/themes/pilot-fish/header.php
     * @since          Pilot Fish 0.1
    <!doctype html>
    <!--[if lt IE 7 ]> <html class="no-js ie6" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 7 ]>    <html class="no-js ie7" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 8 ]>    <html class="no-js ie8" <?php language_attributes(); ?>> <![endif]-->
    <!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
    <meta charset="<?php bloginfo('charset'); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
    <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold" />
    <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Droid+Serif:regular,bold" />
    <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Fredericka+the+Great">
    <title><?php wp_title(); ?></title>
    <script>window.jQuery || document.write('<script src="http://code.jquery.com/jquery-1.7.2.min.js"><\/script>')</script>
    <?php pilotfish_head(); // head hook ?>
    <?php wp_head(); ?>
    <body <?php body_class(); ?>>
    <?php pilotfish_container(); // before container hook ?>
    <div id="container" class="hentry">
        <?php pilotfish_header(); // before header hook ?>
        <div id="header">
        <?php pilotfish_in_header(); // header hook ?>
    	<?php if ( get_header_image() != '' ) : ?>
            <div id="logo">
                <span class="site-name"><a>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><?php bloginfo('name'); ?></a></span>
                <span class="site-description"><?php bloginfo('description'); ?></span>
                <a>"><img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="<?php bloginfo('description'); ?>" /></a>
            </div><!-- end of #logo -->
        <?php endif; ?>
        <?php if ( !get_header_image() ) : ?>
            <div id="logo">
                <span class="site-name"><a>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><img src="images/hk-draped-uk.jpg" /><?php bloginfo('name'); ?></a></span>
                <span class="site-description"><?php bloginfo('description'); ?></span>
            </div><!-- end of #logo -->
        <?php endif; // header image was removed ?>
        <nav id="access">
    	<?php wp_nav_menu( array( 'theme_location' => 'primary-navigation' ) ); ?>
        </div><!-- end of #header -->
        <?php pilotfish_header_end(); // after header hook ?>
    	<?php pilotfish_wrapper(); // before wrapper ?>
        <div id="wrapper" class="clearfix">
        <?php pilotfish_in_wrapper(); // wrapper hook ?>

    [please mark any posted code using the 'code' button - http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

    Any help would be well appreciated!!!

    kind regards

Topic Closed

This topic has been closed to new replies.

About this Topic