Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Add extra links below the header..

Add extra links below the header..

Locked

Views: 1,106

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
19 Jun 2007, 11:42 PM
#1
vik007 avatar

vik007

Zen Follower

Join Date:
Feb 2007
Posts:
201
Plugin Contributions:
0

Add extra links below the header..

Hi guys, basically i want to add a horizontal row of links right beneath my header logo..

How would i do that?

http://www.letsplaysport.co.uk/zc/

thanks

21 Jun 2007, 6:18 AM
#2
fred_artemis avatar

fred_artemis

New Zenner

Join Date:
Dec 2006
Posts:
17
Plugin Contributions:
0

Re: Add extra links below the header..

First open includes > templates > YOUR_TEMPLATE > common > tpl_header.php

After the last line of the source code add this code:

<div id="horizontalNavBar"> <ul> <li><a class="" href="NEW_LINK1">Link name 1</a></li> <li><a class="" href="NEW_LINK2">Link name 2</a></li> </ul> </div>

Add the styles below in stylesheet.css
(This is only an example, you can changes to change the look)

#horizontalNavBar{
white-space : nowrap;
background-color : #000;
float : left;
color : #fff;
width : 794px;
border-style : solid;
border-color : #000;
border-width : 4px 3px 0px 3px;
}
#horizontalNavBar ul{
padding : 0px;
margin : 0px;
float : right;
}
#horizontalNavBar ul li{
display : inline;
}
#horizontalNavBar ul li a{
padding-left : 1em;
padding-right : 1em;
background-color : #000;
color : #fff;
font-size: 12px;
font-family: arial,helvetica,sans-serif;
font-weight : bold;
text-decoration : none;
float : left;
border-right-color : #000;
border-right-style : solid;
border-right-width : 1px;
}
#horizontalNavBar ul li a:hover{
background-color : #fff;
color : #000;
}

22 Jun 2007, 5:28 PM
#3
vik007 avatar

vik007

Zen Follower

Join Date:
Feb 2007
Posts:
201
Plugin Contributions:
0

Re: Add extra links below the header..

Hi mate..Did what you said...but it looks kinda wrong...where have i gone wrong??

https://www.letsplaysport.co.uk/zc

22 Jun 2007, 5:43 PM
#4
vik007 avatar

vik007

Zen Follower

Join Date:
Feb 2007
Posts:
201
Plugin Contributions:
0

Re: Add extra links below the header..

If i can hook the pages to page_2 and the other to page_3 that would be excellent and perfect.

22 Jun 2007, 5:56 PM
#5
vik007 avatar

vik007

Zen Follower

Join Date:
Feb 2007
Posts:
201
Plugin Contributions:
0

Re: Add extra links below the header..

i found that i can use EZ pages....seems a lot easier..thank you for your help anyway..i sure il be back to make minor adjustments.lol

23 Jun 2007, 9:35 PM
#6
vik007 avatar

vik007

Zen Follower

Join Date:
Feb 2007
Posts:
201
Plugin Contributions:
0

Re: Add extra links below the header..

Hi im back again. managed to get a EZ page created and hooked up beneath the header.

My question is what do i need to change (and where) to mess about with the font.

For eg: the text 'Tips' is way to small..how do i make it white & larger.

thanxs

https://www.letsplaysport.co.uk/zc