| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Problem with horizontal navigation bar | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Problem with horizontal navigation bar
I am using a software that creates navigation bars. Somehow the x-cart is taking over the formatting of the bar when I add a hyperlink. I have created a new .tpl file head_nav.tpl and I call it directly after head.tpl. If I format the menu then upload it, if I add a hyperlink to the button, for some reason the formatting changes. Here is my code for head_nav.tpl
Code:
You can see how it is messed up at http://www.nowperformance.com/shop/customer/home.php . The buttons without hyperlinks look how I want them to, I cannot figure out how to fix this, can anyone help! |
|||||||
#2
|
|||||||||
|
|||||||||
You need to edit the site.css style sheet or create a new one for the top bar there.
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
#3
|
|||||||
|
|||||||
I apologize for not listing this before but I am using version 3.5.14 . I do not think I have a site.css, or if so I cannot find it.....
|
|||||||
#4
|
|||||||
|
|||||||
I was able to get the head_nav.tpl to use a seperate css file, however, the rest of the page also changes when I edit this css file. I am calling the new css file from within the head_nav.tpl .
So does anyone know how to disable css formatting for a particular piece of code, or any other solution to my problem ? |
|||||||
#5
|
|||||||||
|
|||||||||
Remove the "class" from your code.
e.g. class='topFold' That way it will not use the css code. Paul Dodman e-business consultant Lumino Internet luminointernet.co.uk
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#6
|
|||||||
|
|||||||
I need those class tags becasue that is what the javascript uses for formatting. I tried removing all of the class tags, and it made it in just plain text.
I am sure someone out there has done this before. The code I am using is directly from the software tool to make the navigation bar, so I can't really delete anything from the code.... |
|||||||
#7
|
|||||||
|
|||||||
Well for anyone who cares, I removed the DIV from the very first part of the skin1.css file and it apeears to be working now. Apparently that DIV in the class file was taking over the javascripts formatting....
Not sure if it is going ot cause some other issues, but for now I am making progress by removing the DIV |
|||||||
|
|||
X-Cart forums © 2001-2020
|