You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Need help to include an additional Tab Box at the top nav bar

UserPost

7:49 am
September 3, 2009


erickz

New Member

posts 2

1

hi, i need help to include/ add in an additional tab at the top nav bar (on the top left).

the default nav bar shows tabs of the home page, and subsequent pages that are created.

but currently i would like to incluce a particular category page, for example : http://www.mysite.com/category/news onto the top nav bar. normally this will works if i just locate the nav bar code on the header page and add in the code like:

<li>
<a href="http://www.mysite.com/category/news">News</a></li> within <ul> </ul> loop. this works for other theme that I have used. but when i do this on flexibility2 theme, the tab did appears there as per required, but the box color, the font size, the round corners of the tab is mismatched and not in alignment with the other tabs. i believe there may be some kind of error but i do not know how to fix this..

pls advise how can i add in a new tab in the top nav bar, and this new tab will still be of the same design, color, etc as the other tabs when veiwing. thanks…

Eric

2:21 pm
September 4, 2009


Ryan

Admin

posts 1252

2

Since the tabs use rounded corners and actually two separate graphics for each side, you need to use a little extra code.  Your code should look like this:

<li><a href=”http://www.mysite.com/category/news”><span>News</span></a></li>

See the extra span tags?  Try that and see if it works.

2:16 pm
September 6, 2009


erickz

New Member

posts 2

3

ohh thanks it works.. i didn't notice the default home tab code did show the span code too. i should have seen this and then use the same format for the next tab.. lol.. anyway thanks..