Forums / Templates, Stylesheets, Page Layout / Move main nav items to categories nav

Move main nav items to categories nav

Locked

Views: 1,086

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
13 May 2008, 6:42 AM
#1
glennnz avatar

glennnz

New Zenner

Join Date:
May 2008
Location:
New Zealand
Posts:
32
Plugin Contributions:
0

Move main nav items to categories nav

Hi

I want to move my 'Log In' 'Log Out' 'My Account' 'Shopping Cart' 'Checkout' links to the categories nav bar, and right aighn them so they are separated from my categories. I can see the code I have to take out of tpl_header.php, but where do I need to put it back in?

See http://www.sustainabledesign.co.nz/software/

It's ugly at the moment; I'm working my way incrementally through the changes I want to make.

Thanks

Glenn

13 May 2008, 7:03 AM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Move main nav items to categories nav

This will involve lots of hacking, and as we are not sure of how you ultimately want it to look and function, you'll need to provide a detailed brief... after which someone may contact you with a commercial quote!

Rather than try to combine the functionality of different boxes (not very easy to achieve), why dont you simply alter the stylesheet to make it APPEAR as if the boxes are "blended"?

This is much easier, and avoids the need to hack away at the code - which sometimes results in problems.

13 May 2008, 7:14 AM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Move main nav items to categories nav

You should be able to put the links in /includes/templates/your_template/templates/tpl_modules_categories_tabs.php.

Add a new div after the #navCatTabs div, and then in your stylesheet float the new div to the right.

Another method might be to simply move the <!--bof navigation display--> code block in tpl_header.php to just after the <!--eof-optional categories tabs navigation display-->, and float #navMainWrapper to the right while floating #navCatTabsWrapper to the left. Some other tweaking may also be required.