![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am trying to get a logo to appear in the top left corner of my site. So, I am modifying header.php and I am in the area at the bottom of this post. I uploaded a file called logo2.jpg into my Images folder via FTP. I removed the references to logo.png and replaced them with logo2.jpg. So then I set the Black canvas Theme options to "Use An Image Logo" under the Header Blog Title Options. After this I expected to see my logo - but no go. I feel like this is something stupid easy but I am missing something and would GREATLY appreciate your help. Below is the current code in the header file I am using in the area (where I think) I need to modify to get the logo to appear.
FYI - When I reset the code to view logo.png I would see the logo.png "Black Canvas" file - this is why I assumed simply uploading and replacing the file name in the code would work. <?php // begin code which decides if the header should display a logo image or dynamic text ?> <?php if(get_theme_mod('header_blog_title') == 'Image') { ?> <div class="headerleft"> <?php if (is_home()) { ?> <h1><a href="<?php echo get_settings(''); ?>/"><img src="<?php bloginfo('template_url'); ?>/images/logo2.jpg" alt="<?php bloginfo('name'); ?>" /></a></h1> <?php } else { ?> <h4><a href="<?php echo get_settings(''); ?>/"><img src="<?php bloginfo('template_url'); ?>/images/logo2.jpg" alt="<?php bloginfo('name'); ?>" /></a></h4> <?php } ?> </div> <?php } else { ?> <div class="headerleft"> <div class="headertext"> <?php if (is_home()) { ?> <h1><a href="<?php echo get_settings(''); ?>/"><?php bloginfo('name'); ?></a></h1> <?php } else { ?> <h4><a href="<?php echo get_settings(''); ?>/"><?php bloginfo('name'); ?></a></h4> <?php } ?> <p><?php bloginfo('description'); ?></p> </div> |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Logo Display Problem-not displaying new logo | Darlene Darragh | General Discussion | 2 | 01-13-2010 02:14 PM |
| How to replace the Streamline Logo with my own logo. | ngeekey | General Discussion | 1 | 11-21-2009 04:23 AM |
| replace logo.png with flash logo | rssbc | General Discussion | 2 | 10-16-2009 01:29 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us