Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    May 2007
    Posts
    11
    Plugin Contributions
    0

    Default How can I get my top nav to look like this?

    I'm a complete Zen newbie, but have spent several hours reading the help pages/forums. Have also purchased the book.

    I know HTML, and a little CSS, but have absolutely no experience with PHP.

    Knowing this, would it be difficult for me to get my top nav to look like this? (I have the logo in place, it's just the nav I need help with)

    If not, can anyone give me a basic idea of how to go about this?


  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: How can I get my top nav to look like this?

    If you know html and I see that you have this as an image and that this will not be drop menus or the like you can create a transparent image map with the hot links defined and place it over the image that you install through the style sheet as a background image. This is one way.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: How can I get my top nav to look like this?

    I would assume I would also have to alter the PHP file slightly? How would I do that? Would it be tpl_header.php?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: How can I get my top nav to look like this?

    I would assume I would also have to alter the PHP file slightly? How would I do that? Would it be tpl_header.php?
    Yes, this is the file where the image map would be if you choose to do it this way.

    Here is a generic sample and spacer.gif is a 1pixel transparent image that you would have to create and I recall that I added the div "navHead". You need to provide the href's and the alt text and adjust to match your background image.
    Code:
    <!--bof-branding display-->
    <div id="logoWrapper">
        <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
    
    	<!-- begin top navigation -->
    	<div id="navHead">
    	<img src="includes/templates/test/images/spacer.gif" width="235" height="44" border="0" /></a><a href="index.php?main_page=?Ref1?">
    <img src="includes/templates/test/images/spacer.gif" alt="?Some_Text?" width="120" height="44" border="0" /></a><a href="index.php?main_page=?Ref2">
    <img src="includes/templates/test/images/spacer.gif" alt="?Some_Text?" width="125" height="44" border="0" /></a><a href="index.php?main_page=index&cPath=5">
    <img src="includes/templates/test/images/spacer.gif" alt="Accessories" width="125" height="44" border="0" /></a><a href="index.php?main_page=about_us">
    <img src="includes/templates/test/images/spacer.gif" alt="About Us" width="120" height="44" border="0" /></a>
    	<!-- end top nav --></div>
        </div>
    Zen-Venom Get Bitten

  5. #5
    Join Date
    May 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: How can I get my top nav to look like this?

    Thanks so much kobra...I will try this.

 

 

Similar Threads

  1. How Do I get my product page to LOOK LIKE THIS..?
    By nateberry in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 27 Aug 2010, 04:04 PM
  2. How can I get my forum to look like this?
    By wagnerguy in forum General Questions
    Replies: 1
    Last Post: 22 Oct 2009, 08:17 PM
  3. How can I get a Look like this, pictures with links on main page
    By paha in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 18 Mar 2008, 01:10 AM
  4. How do I get my footer look like this?
    By Kruna in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 22 Feb 2008, 02:27 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