![]() | ![]() | ||||||||
| | #1 |
| The Real Charlie Harper War Room Member Join Date: Dec 2007 Location: Harrisburg, Pa
Posts: 1,309
Blog Entries: 25 Thanks: 384
Thanked 222 Times in 160 Posts
|
I cannot seem to replace the header on this blog. What is the code to get the header area to point to a picture that I want on there? Charles Learn To Play The Guitar |
| | |
| | |
| | #2 |
| The Real Charlie Harper War Room Member Join Date: Dec 2007 Location: Harrisburg, Pa
Posts: 1,309
Blog Entries: 25 Thanks: 384
Thanked 222 Times in 160 Posts
|
If there is anything else that I am doing that is blatantly silly, please pipe in. Although I think at 230 posts I am just now man enough to take it. Charles |
| | |
| | |
| | #3 |
| HyperActive Warrior War Room Member Join Date: Sep 2007 Location: Indianapolis, IN USA
Posts: 139
Thanks: 3
Thanked 2 Times in 2 Posts
|
You need to edit the header file in the template. Go to the "Design" Area Click the "Theme Editor" link and then choose to edit the header file from the list of templates on the right. Chances are that's where you'll find the image, and can change it to what ever you want. -- Edit -- I suppose it may also be in the style sheet if it's not in the header. Also - what version of wordpress are you using? |
|
-- Follow me: http://twitter.valueguardian.com Last edited by dougyitbos; 12-09-2008 at 07:57 PM. Reason: forgot something... | |
| | |
| | #5 |
| Programmer Extraordinaire War Room Member Join Date: Jun 2007 Location: Olathe, KS USA.
Posts: 700
Thanks: 39
Thanked 30 Times in 26 Posts
|
What theme are you using?
|
|
I'm tired of my signature... Deleted.
| |
| | |
| | #6 |
| The Real Charlie Harper War Room Member Join Date: Dec 2007 Location: Harrisburg, Pa
Posts: 1,309
Blog Entries: 25 Thanks: 384
Thanked 222 Times in 160 Posts
|
Blue Danube by Justin Tadlock Options WordPress Theme Version 1.1 |
| | |
| | |
| | #7 |
| Ken Katz War Room Member Join Date: Apr 2005 Location: NY, CA , USA.
Posts: 639
Thanks: 82
Thanked 86 Times in 67 Posts
|
If you just want to replace the image it is located in wp-content>themes>options>styles>blue-danube>images>header.gif The easiest would just to swap out the original image with yours using the same name, header.gif. If you really want to change the name, which I don't recommend then you look at the css file in the blue-danube folder called, blue-danube.css and look for these lines: #header h1 a { width: 350px; height: 80px; margin-left: 10px; display: block; color: #f7f7f7; background: url(images/header.gif) no-repeat 0 0; replace the header.gif with your file name. |
|
My name is Ken Katz and I am a web designer and photographer.
| |
| | |
| | #8 |
| Active Warrior Join Date: Dec 2008
Posts: 87
Thanks: 21
Thanked 10 Times in 7 Posts
|
Hi Charles, Edit the header file. I recommend using an FTP client software. Do not use the built in editor in wordpress - no code coloring and possible mistakes... Good luck! |
| | |
| | #9 | |
| Programmer Extraordinaire War Room Member Join Date: Jun 2007 Location: Olathe, KS USA.
Posts: 700
Thanks: 39
Thanked 30 Times in 26 Posts
|
This is the method I usually use, simply because it's the easiest. You have to make sure that your height and width of the new header are the same, so your site doesn't look all messed up. If you change any of it, then you'll have to edit the css file too, which isn't all that tough. My only recommendation is that you copy it before you start editing it. The wordpress editor has no way to restore changes that you make, and you don't want to change/delete the wrong item. ![]() Quote:
| |
|
I'm tired of my signature... Deleted.
| ||
| | |
| | #10 |
| Ken Katz War Room Member Join Date: Apr 2005 Location: NY, CA , USA.
Posts: 639
Thanks: 82
Thanked 86 Times in 67 Posts
|
I agree with Bishop81 on not using the template editor. I find it is best to use ftp and notepad with css. I usually make a copy of the file and call it say blue-danube-orig.css. I don't touch this file. I work on the file blue-danube.css. If for any reason I make a mistake I can always re-insert the original file. I just remove the -orig and I have a clean copy of the file again. Yes, you need to keep the header.gif image dimensions the same. Otherwise you can run into trouble with sizing and the theme not looking right. I would not recommend changing the sizing dimensions in the css file unless you know what you are doing because you can get real bad unexpected results with css. Columns can start wrapping or move to places you didn't expect. This is because sizing like total width is very important with css. So if all your changes don't add up to the exact dimensions of the original css file then you can have wrapping problems or possibly the theme just won't look right. This is why it is always important to have the original files to revert to. |
|
My name is Ken Katz and I am a web designer and photographer.
| |
| | |
![]() |
|
| Bookmarks |
| Tags |
| dumb, question, wordpress |
| Thread Tools | |
| |
![]() |