By Hellboy80-1 on
I'm modifying Zen theme where I need to have primary links and search box in header alongside the logo. Like on this site: http://www.boreme.com/
I think I should do this (move primary links and search box from navbar to header) by modifying some of the template php files, but I don't know which one and how exactly I should do that. When I look in these php files, I'm little bit confused, because I'm not shure where all of the codes starts and ends :) Can somebody help me with this? Thanks very much for any advice!
Comments
=-=
the code for the search box and the primary links are in page.tpl.php
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Thanks. I see it, but where
Thanks. I see it, but where exactly should I move it? Where could be the right place for it?
=-=
in to the header div or just below it.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Ok, I'll try it. By the way,
Ok, I'll try it. By the way, what is the function of that "skip to navigation" link in header of Zen theme? It's in the upper right corner of header (it has white color, so it's invisible when the background is white too). When I click on it, nothing happens :)
=-=
first - it says skip to main content (or at least mine does fresh download)
second - if you had a large header or added regions above the main content area, the link will forec an scroll down to the main content area of the site.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Thanks for this post
You saved this noob from having to ask the same question. I probably would have found it myself with several hours of pouring through code.
The recommendation in the Zen download docs to download FireBug also saved me many hours of pain.
Now I'm wondering how to get a gradient color background as in Garland. Is there a quick answer for this too?
Thanks again,
David
I found my own answer
It wasn't as nice as just doing it with the color module, which I don't know how to access with Zen, but I just found a gradient image from another site (I don't have software that produces them) and tweaked the colors to fit my needs. Accidentally introduced some artifacts that make it look better. Set the background-repeat to repeat-x. FYI, my site is at dev.davidlark.net right now, but will be moved to http://architect.davidlark.net soon.