Forum Moderators: not2easy
Here is the css:
body { margin:1px; font-size:0.8em; line-height:16px; background-color:#000000; font-family: "Trebuchet MS", "Myriad Pro", Arial;}
a { color:#000000;}
a:hover { text-decoration:none;}
#container { background: url(images/) 0px 50px #000000;}
#header { background: url(images/header.jpg) #000000;background-repeat:no-repeat;}
#logo { padding:30px 50px 35px 25px; text-align:left; }
#logo a{ color:#FFFFFF; text-decoration:none; font-weight:bold; height:32px; font-size:30px; text-transform:uppercase;float:right}
#logo a:hover { }
The folks who designed this theme used the term "logo" for 'blog title'
but they did not include any code for tagline.
Here is the header code:
<!-- header -->
<div id="header">
<div id="logo"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></div>
<center><div id="menu">
<ul>
<?php wp_list_pages('title_li=&depth=1' ); ?>
</ul>
</div></center>
</div>
<!--end header -->
Regards
<?php the_content('<p class="serif">The text goes here »</p>'); ?>
That's how I did it for putting body text in the new page template I tried, but here's what's in header.php for the default Kubrick theme, which is probably the right way since Kubrick is just about the best basic standard to use for starting to customize:
<div id="header">
<div id="headerimg">
<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
</div>
</div>
Yours has bloginfo('name') but it doesn't have bloginfo('description') and I believe both those WP tags just use the information you enter when you do your settings.
Added:
This is turning into a saga, but that's exactly what those two bloginfo tags do.
Settings > General
Title - Your Blog Title Here == <?php bloginfo('name'); ?>
Tagline - Just another WordPress weblog == <?php bloginfo('description'); ?>
So that tagline is what's used with the bloginfo('description') WP tag in the default, so changing that is what makes the change for the whole site once that tag is in header.php
[edited by: Marcia at 1:07 am (utc) on Aug. 29, 2008]
Sure, including the entire Codex; but it really doesn't matter where the support comes from, as long as it points in the right direction to get help. Pointing a WP user to which file and which tag to check out is the key to solving their issue, and once they know what the issue is, they can then look through the Codex for the specifics if they need to get into further details.
[codex.wordpress.org...]
renet, CSS is only a styling language which helps suggest styles, colors and sizes for displaying the actual generated HTML. It has no control in programming what should appear in the HTML
The WordPress (in your case) PHP tags and codes generate that HTML, hope that helps. Sure if you get the right HTML generated (view the source code) and then it's an actual style or positioning question, then that's where CSS will come in :)
You should frequent the Wordpress site for actual help with their tags/codex as WebmasterWorld is not really a Wordpress support forum, but we do have a Content Usage and management forum [webmasterworld.com] and a lot of the members here have experience of Wordpress so sometimes the odd question that crosses over will get some help :)