For starters, what version of WP are you playing with? For the fact that you are talking about wp-layout.css would indicate that it’s not 1.5 or greater.
If you want to stick with the older version of WP, you probably want to be adding “display:none” to the second instance you found.
Regards
You can display the header elsewhere if you move the code from the header.php to the main index.php page.
Open the header php file and just cut and paste the H1 and description somewhere else, to keep the blog title up.
Resize it with Css to create your desired effect.
Cypher…I’m using 2.02…maybe the instructions I found are for an older version of WP. I’m assuming I make the CSS changes in the ‘style.php’ page?
Liverpool…I don’t want to move the blog name, I want to delete it because I’m adding my own header image.
Where did you find the instructions? If it says “wp-layout.ccs” – it is a pre-1.5 version.
All the actual documentation is at Codex.
It’s on this site: http://binarybonsai.com/wordpress/kubrick/
Q: How do I remove the blog name and description in the header? My header image already has all that…
A: The best way of doing this, is to open wp-layout.css. Find the first entries you can find for ‘H1’ and ‘.description’. Now add ‘display: none;’ to the values in there. The reason for doing it this way, and not by simply deleting the code in index.php, is that this way around, it will degrade gracefully if an old browser happens to drop by.
Too bad you didn’t read the whole page…
As per version 1.5, a ported version of Kubrick v1.2.6 has been bundled with WordPress as the default style. The FAQ covers version 1.2.6 only, all other support should go to the WordPress Forums.
WordPress 1.5 can be downloaded from the WordPress site. Please be aware that the bundled version differs in various ways from the one you find here. If you are using WordPress 1.5, don’t bother downloading Kubrick v1.2.6.
I’m using the WordPress default theme (Kubrick)…all I want to do is remove the blog name and add my own image…can anyone help?
I figured this would be a common modfication to the default WP theme…
Modifying the default theme is not really a “common task” – it’s complicated and nobody likes to deal with it.
However, you can find some guide here: Designing_Headers.
Has anyone else besides moshu removed the blog name and description from the Kubrick header? If so, can you enlighten me…
I never said I did. If possible I don’t touch it.
Just remove the code that displays the title and the description.
<h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
Why not simply remove the blog title and tagline from ‘General Options’?
NO FCKG WAY!!! Are you kidding me…that’s all it was! Man, this CSS has me and many others overlooking the straight-forward solutions.
Much thanks srikat.
One more thing…do you know where to access the “about” text? It’s not in the options section?
Thanks for posting that moshu, I was just going to post that, but I got booted offline. =( But to add along with that though, if you’re using you’re own image in-replace of the kubrick one, you could do this also:
<a href="<?php echo get_settings('home'); ?>/">
<div id="headerimg"></div></a>
This way the people can still get back to the home page, if they are on another page, just by clicking the header image. Just thought I’d throw it in there. =)
For the About page stuff, in Control Panel, go to Manage => Pages then click on edit for the “about” page, that should do it hehe. =)
But what srikat said, will work and remove the title and description, but you’ll lose the “linkage” for the header image. And won’t be able to use it to get back “home” again.
Example that in progress here:
http://www.vindictivebastard.net/kubrickfixed/
I’ll remove the title and description like srikat said, but add the codes I have above to still give a “linkage” once.
spencerp
P.S. All this was done without messing with the CSS codes for that part either. =)
spencerp/moshu…where exactly would I add this code to make my header a link?
<a>/">
<div id="headerimg"></div></a>
Everything you need is here: http://codex.wordpress.org/Designing_Headers
(as a sidenote: I would not recommend the “technique” suggested by srikat, i.e. deleting the title, for several reasons:
there will be no title in the browser’s top bar;
the html semantics will be broken – no h1 in your file;
search engines are not happy about it…)