Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Dec 2011
    Location
    Pine Brook, NJ
    Posts
    27
    Plugin Contributions
    0

    help question Changing top navigation to text?

    Presently, I have linked categories on the top and left sidebar (which will stay) of my page. I need to replace the linked categories at the top and replace them with a mission statement and can't find this file in e-z pages or layout controller. A sample source code is below (thank you for your help):

    <div id="navCatTabsWrapper">
    <div id="navCatTabs">
    <ul>
    <li><a class="category-top" href="http://www.northeastjanitorial.com/janitorial_supplies/index.php?main_page=index&amp;cPath=56">Air movers, Air filters and Fans</a> </li>

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Changing top navigation to text?

    Admin - Configuration - Layout Settings - Categories-Tabs Menu ON/OFF to turn the categories off.

    You'll need to insert your mission statement text into tpl_header.php.

  3. #3
    Join Date
    Dec 2011
    Location
    Pine Brook, NJ
    Posts
    27
    Plugin Contributions
    0

    Default Re: Changing top navigation to text?

    Thanks, Stevesh.

    I tried to add a test statement to my tpl_header.php (found in my template default/common/

    ...and replaced it on the server and didn't see a change. Perhaps you can guide me regarding placement (line number and code placement for the mission statement). I would also like to make the text white and 12 pt. Where can I add a span class? Thanks! PS. I just purchased the Zen Cart Manual and hope to get u-to-speed soon.

    (around line 76)
    ?>
    <div id="tagline"><?php echo HEADER_SALES_TEXT;?><h1>test</h1></div>
    <?php

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Changing top navigation to text?

    Look at http: //www.stevesh.org/demo

    I added this:

    <div class="mission">This is my mission statement.</div>

    right after this:

    <!--eof-header logo and navigation display-->

    then, in the stylesheet:

    .mission {font-size: 1.5em; color: #ff0000; text-align: center;}

  5. #5
    Join Date
    Dec 2011
    Location
    Pine Brook, NJ
    Posts
    27
    Plugin Contributions
    0

    Default Re: Changing top navigation to text?

    Thank you, Steve. I followed the steps you outlined and the mission statement is still not showing.http://www.zen-cart.com/forum/images/smilies/blush.gif Here is the text I inserted in my tpl_header.php

    <!--eof-header logo and navigation display-->
    <div class="mission">Our mission at Northeast Janitorial Supply, Inc. is to provide customers with the knowledge and tools necessary to maintain a quality environment in which to work and live. Our focus on environmentally friendly products coupled with over 40 years of experience ensures we guide our customers safety toward the results they should expect.
    </div>

    I also placed:
    .mission {font-size: 1.5em; color: #ff0000; text-align: center;}

    at the bottom of my stylesheet.css found in my template...template default...css folder.

    The website address is:
    http://www.northeastjanitorial.com/j...m/forum/images

    Your help is greatly appreciated. http://www.zen-cart.com/forum/images...s/big_grin.gif

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Changing top navigation to text?

    Since you're using the Classic template, the edited tpl_header.php file needs to be in includes/templates/classic/common, and you need to add that rule to the stylesheet.css file in the css folder under classic.

    Before you do anything else, though, create your custom template:

    https://www.zen-cart.com/tutorials/i...hp?article=142
    https://www.zen-cart.com/tutorials/i...hp?article=143

 

 

Similar Threads

  1. v151 Add Text to Top Navigation Bar
    By blue-grape in forum Upgrading to 1.5.x
    Replies: 5
    Last Post: 5 Jul 2013, 11:41 AM
  2. changing the size of the top navigation bar
    By 4cat in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 Aug 2010, 03:10 PM
  3. changing th size of top navigation mother earth template
    By signify in forum Addon Templates
    Replies: 4
    Last Post: 18 Apr 2010, 09:09 PM
  4. Changing navigation text
    By Orchard_Direct in forum Basic Configuration
    Replies: 1
    Last Post: 15 Aug 2007, 10:45 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