Comment on WordPress Theme Development by Rachel.
Please delete this message after reading. [It’s just to show another good way of doing it.]
I managed to include the logo Plus the blog name in a single header.
I have decided to remove the blog info, which is less important.
for the header.php
<div class="header_site_desc"><a href="http://localhost/wordpress/"><img alt="<?php bloginfo('name'); ?>" title:"Home" src="http://localhost/wordpress/images/logo2.png" /></a> <?php if (is_page("archives") || is_year() || is_month() || is_day() || is_home() || is_404() || is_author()) { ?><h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1><?php } ?> <?php if (is_category() || is_single() || is_page() || is_search()) { ?><span><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></span><?php } ?> <?php if ( function_exists('is_tag')){ ?><?php if (is_tag()) { ?><span><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></span><?php } ?><?php } ?> </div>
And for the css.style:
.header_site_desc { float: left; clear: left; width: 435px; height: 90px; } .header_site_desc a img { border: none; display: block; margin-top: 10px; margin-bottom: 3px; padding-left: 0px; } .header_site_desc h1, .header_site_desc span { margin-top: -8px; padding: 0px; float: left; width: 400px; font-size: 1.2em; color: white; font-weight: bold; } .header_site_desc h1 a:link, .header_site_desc h1 a:visited, .header_site_desc span a:link, .header_site_desc span a:visited { color: #FFFFFF; text-decoration: none; padding-left: 3px; border-left-width: 2px; border-left-style: solid; border-left-color: #000000; } .header_site_desc h1 a:hover, .header_site_desc h1 a:active, .header_site_desc span a:hover, .header_site_desc span a:active { color: #FFFFFF; text-decoration: none; padding-left: 3px; border-left-width: 2px; border-left-style: solid; border-left-color: #9ACA3C; }
Also played with the navigators ul margin to make it fit the header bottom.
Thanks for your time and technical support.
More Comments by Rachel
Responsive WordPress Theme Development
New WordPress Theme CSS SEO Layouts?
See:
Look at the two divs: articleInline runaroundLeft and shareTools where the div called articleBody wrapping these two.
I am still working on it. …
Continue Reading Performance WordPress Theme Development
Responsive WordPress Theme Development
Talian Theme Staggered 3 Column WordPress Layout
Hi David,
Just some words before –
I know how to put the 728 ad under the top navigation and main content area. That’s easy. It doesn’t perform like putting it under the post title – I have already checked it. …
Continue Reading Performance WordPress Theme Development
Responsive WordPress Theme Development
3 Column Talian WordPress Theme Layouts
I have some thoughts of changing the layout of the 3 column Talian theme wanting the right sidebar to be located 400-600 pixels down its current position while the central column takes this location (post-content / left post / post …
Continue Reading Performance WordPress Theme Development
Responsive WordPress Theme Development
Stallion Theme H1 Header
David,
You’ve improved my solution. But as you indicated, it has a SEO risk and that is why I was so hesitated and won’t go with this solution – I am too cautious when it come to Search Engines.
As for …
Continue Reading Performance WordPress Theme Development
Responsive WordPress Theme Development
Talian Theme with a Logo in the Header
Hi David,
I have tried to create a clickable logo for my Talian site while keeping the SEO strength of the logo in the header.
What I’ve learned is that most CSS tricks for logo in the header using a background logo …
Continue Reading Performance WordPress Theme Development