Where is my custom header?
-
I noticed recently that my custom header mysteriously disappeared from my blog. I didn’t change anything and I checked in the CSS style sheet and everything appears as it was before. My guess is it has to do with a combination of WordPress’ recent changes concerning customization and the theme I’m using. I looked around and can’t figure out how to fix it. Please help.
Thanks,
Thom
Blog url: http://thomskuld.wordpress.com/ -
-
In your custom CSS, the ‘background’ property that sets the header image is not correctly formed. Instead of this:
#container {
background:url(‘http://thomskuld.files.wordpress.com/2011/06/site_logo5.jpg’) top 0 no-repeat;
padding-top:130px;
}Try this:
#container {
background:url(‘http://thomskuld.files.wordpress.com/2011/06/site_logo5.jpg’) no-repeat 0 0;
padding-top:130px;
} -
That did the trick! Thanks! Although I wonder why it worked for so long with improper coding.
One more question if I may- if I change my theme to the more recent Journalist v1.9 (I’m still using v1.3) will I lose the custom stylesheet changes? Would I also be able to revert back if need be?Thanks!
-
You will need to create a plain text editor back-up file containing your changes for The Journalist 1.3 and store it on your computer.
CSS is theme specific. So the answer is if you change theme to The Journalist 1.9 you will have to re-do the CSS editing.
If you have custom CSS and later change themes, you need to delete whatever CSS you have in the Editor, otherwise, you’ll get undesired results. To ‘reset’ a theme, you need to delete the CSS in the Editor, make sure the “add to existing CSS” radio button is checked, then save. Things should go back to normal.
When you alter a theme’s stylesheet, you only need to put in the Editor the modification/additions to the CSS, not the entire thing. Read this for more info:
http://csswiz.wordpress.com/2009/10/15/if-you-have-the-wp-com-css-upgrade/ -
Thanks timethief! Your advice helped me try out a couple of themes while safely preserving my custom CSS. It was a good learning experience. I realized I really like my theme, I just hate the fat black bar with the post date in it and the “leave a comment” area (especially since my comments are disabled). Is there a way to get rid of these 2 things in the Journalist 1.3 theme? Again, my url for reference: http://thomskuld.wordpress.com/
Thanks!
-
You’re welcome. That “leave a comment” can be removed by CSS editing but I don’t help with CSS.
-
Add this to your CSS (if you really mean you want nothing to mark where a post ends and another starts):
.meta, .comments { display:none; } -
Yes! that’s exactly what I wanted! I hope other people wanting the same thing are able to find this thread and benefit from this tiny nugget of knowledge. I’m so psyched to finally have this resolved. Thanks panaghiotisadam!
- The topic ‘Where is my custom header?’ is closed to new replies.