StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-17-2010, 02:05 PM
billslaymaker billslaymaker is offline
Registered User
Genesis Member
 
Join Date: Dec 2008
Posts: 12
Default Getting a logo to appear

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 07:35 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.