Adding an image to the title - Sliding Door

Everything else!

Adding an image to the title - Sliding Door

Postby tplondon » Thu Jul 19, 2012 2:19 pm

Hiya!

I would like to add a logo to the left of the title in main header how would I do this please I do not know the code to put in or where i will mash up the php header :P

Thank you!!

www.pillowfacemedia.co.uk is the site.
tplondon
I'm new here
 
Posts: 1
Joined: Thu Jul 19, 2012 2:17 pm

Re: Adding an image to the title - Sliding Door

Postby Sakecat » Wed Jul 25, 2012 2:55 am

In the Header.php File i managed to do this by placing this html string

Code: Select all
 <img src="http://www.sakecat.com/wp-content/uploads/2012/07/sakecatlogotopright.png" style="float: right" width="120" height="120" >



inside the span that retrieves the blog info. You can see where in this larger portion of code about half way down.

The file can be found in /wp-content/themes/sliding-door acess it with your ftp program. I suggest eclipse IDE for editing it

Code: Select all
</head>

<body <?php body_class(); ?>>
<div id="wrapper" class="hfeed">
   <div id="header">
      <div id="masthead">
         <div id="branding" role="banner">
                     
            <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
            <<?php echo $heading_tag; ?> id="site-title">
               <span>
                  <img src="http://www.sakecat.com/wp-content/uploads/2012/07/sakecatlogotopright.png" style="float: right" width="120" height="120" >
                  <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
               </span>
            </<?php echo $heading_tag; ?>>
            <div id="site-description"><?php bloginfo( 'description' ); ?></div>


            <div id="imageMenu">
Sakecat
Legend!
 
Posts: 29
Joined: Wed Sep 28, 2011 7:10 pm


Return to Announcements and General Support for Slidingdoor Themes