The Blix Krieg theme, as it is based upon Blix, is notoriously easy to change.
One of the users of the theme, Suzie J, recently asked the following question:-
I love this theme — but I have a header image — that is wide and short, and would definitely fit about the menu bar (you can see it at www.susiej.com).
Can I insert it into the code, and where would I do it?
Also, is it possible to put google ad links across the header above the menu bar?
Thanks
Thanks for your question, Suzie - I’ll answer them in order:-
Can I insert my own header?
The answer is a resounding YES. There are two ways you can do this, but probably the best is to modify the "spring_flavour.css" file in the theme directory - modify the following lines appropriately to point to your alternative header:-
/* header
————————————————–*/
#header {
background-color:#F0F9F9;
background-image:url(images/spring_flavour/header_bg.jpg);
}
The line you need to modify is "background-image:url(images/spring_flavour/header_bg.jpg);" - just upload your image, and modify that line to point to wherever you upload it to.
It’s preferable if you make the image a jpeg, and preferable if it is 690 pixels wide, and 115 pixels high (to match the existing header_bg.jpg image dimensions)
Ok, so having shrunk your image to be 690 pixels wide using photoshop, I now find it’s only 73 pixels high.. that’s a problem, as layout.css defines the header image as being 115 pixels high.. so this in effet means we get a weird tiled effect with your image if we don’t do something.
Really, again, we have another two choices:-
- Stretch your image so that it is 115 pixels high (will make it look funny) or..
- Change the layout.css file so that the header height parameter matches the height of your header image. This is my preferred option.
So.. open the layout.css file and find the following section:-
/* header——–*/
#header {
height:115px;
padding:0 0 0 18px;
}
all you then need to do is change the 115 value to the actual height of your new header image, and you are set (in this case, 73px)
Can I insert a header ad?
Yes you can - but that’s prob a little bit more involved, but only a little.
Keep posted, I’ll write about that tomorrow, and give everyone an idea about just how the ad section of my theme works, as well as a little overview of PHP for those of you that aren’t familliar with it.
By the way Suzie, just for fun, I’ve temporarily done the above steps and put your header on my beta development page (beta.utheguru.com) - check it out (the changes are reflected on the beta page only, not in new downloads of this theme, of course
).