Results 1 to 10 of 26

Hybrid View

  1. #1
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    1,198
    Plugin Contributions
    0

    Default Re: header navigation bar?

    Yes. That code is from the default tpl_header.php file located in
    includes/templates/template_default/common/

    The code can be commented out or removed. Try commenting out the code first to make sure the results are what you are looking for. It looks a little different in the classic template override of tpl_header.php. There it is encapsulated in a table. You should be able to find the same area of code. Make sure you edit a copy placed in your own custom template override directory.

    Always make backups of files BEFORE making modifications. :)

  2. #2
    Join Date
    Sep 2006
    Location
    Chicago
    Posts
    51
    Plugin Contributions
    0

    Default Re: header navigation bar?

    Rather than turning it off I want to edit the links in that bar. I want to have home, account, cart, mission, and contact while also having the search bar at the bottom. Can I edit what is in this bar in the admin section or do I have to edit php files?

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: header navigation bar?

    Can I edit what is in this bar in the admin section or do I have to edit php files?
    You will have to edit the tpl_header.php

  4. #4
    Join Date
    Sep 2006
    Location
    Chicago
    Posts
    51
    Plugin Contributions
    0

    Default Re: header navigation bar?

    I look at the header.php and it looks pretty daunting. I would add the links I want up there but I am not sure of the Constants names and whatnot. Maybe there is something simple I just don't know of? Or would this require a great deal of work, ie creating new php files and whanot?

  5. #5
    Join Date
    Aug 2006
    Location
    West La
    Posts
    17
    Plugin Contributions
    0

    Default Re: header navigation bar?

    Do any of you know how to change that top HOME and LOGIN font color? I thought you were supposed to change :

    TD.headerNavigation A, TD.headerNavigation A:visited, td.footertop a {
    font-weight: bold;
    color: ##9da7ad;
    }

    (in the stylesheet_original.css file)

    But it doesn't work for me. "home" and "login" still appears white to me on the top of the page as well as the bottom where the footer is.
    Is there another area where I'm supposed to change the font color as well? Please help! I've been trying to figure this out for 6 hours.
    Thanks

  6. #6
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    1,198
    Plugin Contributions
    0

    Default Re: header navigation bar?

    Quote Originally Posted by msbettybebe
    color: ##9da7ad;
    Only one '#' in front of the color code.

    From the stylesheet_original.css file (Zen Cart v1.3.0.1):
    Code:
    TD.headerNavigation A, TD.headerNavigation A:visited, td.footertop a  {
      font-weight: bold;
      color: #ffffff;
    }
    
    TD.headerNavigation A:hover, td.footertop a:hover  {
      color: #a8cfff;
    }
    
    TR.
    If you can, using the Mozilla Firefox browser install Chris Pederick's Web Developer extension. It's an invaluable tool for web designers and will help you track down areas of your CSS very nicely.

  7. #7
    Join Date
    Sep 2006
    Location
    Chicago
    Posts
    51
    Plugin Contributions
    0

    Default Re: header navigation bar?

    To change the color and layout I just went into the tpl_header.php file and added my own divs to the file and then added those to my css file. Edited that top bar pretty substantially though. It worked though.

 

 

Similar Threads

  1. Move header navigation bar.
    By Astarkley in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Sep 2007, 04:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg