Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2011
    Location
    Eastleigh
    Posts
    11
    Plugin Contributions
    0

    Default How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

    Hi, I am completely new to Zen-Cart (awesome) and am using the Bask Black template (also awesome) but can't work out how to add new pages so that they show up in the nav bar? Can anyone assist?

    Many thanks

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

    Let's see your site so we know which navbar you are talking about - there are several possibilities.

  3. #3
    Join Date
    Mar 2011
    Location
    Eastleigh
    Posts
    11
    Plugin Contributions
    0

    Default Re: How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

    Thanks, It's dirtybikes.co.uk

    Paul

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

    The main header nav appears to be a completely custom menu, so I can't tell you exactly how to integrate new links. If it is largely hardcoded so that the PHP file section looks similar to this
    Code:
    <!--bof-header navigation bar display-->
    <div id="header_bar">
    	<div id="header_bar_ls_active"><a href="http://www.dirtybikes.co.uk/">Home</a></div>
    	<ul id="nav_bar_content">
    		<li><img src="includes/templates/bask_black/images/nav_delim.gif" alt="" width="2" height="46" /></li>
    
    						<li id="products_new"><a href="index.php?main_page=products_new">New Products</a></li>
    
    				<li><img src="includes/templates/bask_black/images/nav_delim.gif" alt="" width="2" height="46" /></li>
    
    				<li id="products_specials"><a href="index.php?main_page=specials">Specials</a></li>
    
    				<li><img src="includes/templates/bask_black/images/nav_delim.gif" alt="" width="2" height="46" /></li>
    
    				<li id="products_featured"><a href="index.php?main_page=featured_products">Featured Products</a></li>
    
    				<li><img src="includes/templates/bask_black/images/nav_delim.gif" alt="" width="2" height="46" /></li>
    
    				<li id="account"><a href="http://www.dirtybikes.co.uk/index.php?main_page=account&amp;zenid=01c3c6b35e90b0f2840530c2e429a0a0">My Account</a></li>
    	</ul>
    	<div id="header_bar_rs"></div>
    
    	<div id="navMainSearch">
    		<form name="quick_find_header" action="http://www.dirtybikes.co.uk/index.php?main_page=advanced_search_result" method="get"><input type="hidden" name="main_page" value="advanced_search_result" /><input type="hidden" name="search_in_description" value="1" /><input type="hidden" name="zenid" value="01c3c6b35e90b0f2840530c2e429a0a0" /><input class="button-search-header float-left" type="image" src="includes/templates/bask_black/images/search_button.png" value="Search" /><div class="input_div"><input type="text" name="keyword" size="6" maxlength="30" style="width: 142px" class="search_input" value="Enter search keywords here" onfocus="if (this.value == 'Enter search keywords here') this.value = '';" onblur="if (this.value == '') this.value = 'Enter search keywords here';" /></div></form>	</div>
    
    </div>
    <!--eof-header navigation bar display-->
    you would add the link code just before the </ul>, something like this
    Code:
    				<li><img src="includes/templates/bask_black/images/nav_delim.gif" alt="" width="2" height="46" /></li>
    
    				<li id="myEZPageLink"><a href="<?php echo zen_ez_pages_link(23) ?>">My EZ-Page Link</a></li>
    where 23 is replaced by your ez-page id and My EZ-Page Link is replaced by your link title.

  5. #5
    Join Date
    Mar 2011
    Location
    Eastleigh
    Posts
    11
    Plugin Contributions
    0

    Default Re: How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

    Cheers, I'll give that a go

  6. #6
    Join Date
    Mar 2011
    Location
    Eastleigh
    Posts
    11
    Plugin Contributions
    0

    Default Re: How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

    The extra nav button has appeared (thanks!) but if you take a look you will see that the search bar - which was positioned at the end of the nav bar - has been forced onto the next line as the bar is now too big, any ideas how I correct this please?

    Many thanks

    Paul
    Last edited by pework; 15 Mar 2011 at 11:37 PM.

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

    Reduce the width of each link. Find this:

    stylesheet.css (line 405)

    #header_bar a {
    color: #FFFFFF;
    font-size: 1.083em;
    font-weight: bold;
    margin-bottom: 2px;
    padding: 0 30px;
    text-decoration: none;
    }

    and change the padding to suit.

  8. #8
    Join Date
    Mar 2011
    Location
    Eastleigh
    Posts
    11
    Plugin Contributions
    0

    Default Re: How do I add a new page created in EZ-Pages on the Bask Black Navigation bar?

    Awesome! You are a star!

 

 

Similar Threads

  1. v151 How do I add navigation bar on the most top of my page?
    By dijah in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Apr 2014, 03:32 PM
  2. black Dot in top navigation Bar
    By DontBlink7 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Apr 2011, 11:06 AM
  3. How To Add a New Option (Link) in Navigation Bar?
    By Vibhor in forum Basic Configuration
    Replies: 3
    Last Post: 11 May 2010, 05:11 PM
  4. how to add a sign up link at the navigation bar
    By turbochan in forum Basic Configuration
    Replies: 1
    Last Post: 26 Feb 2010, 04:56 PM
  5. How to add MARQUEE text to the navigation bar?
    By Lobazniouk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 May 2009, 02:52 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR