Page 1 of 2 12 LastLast
Results 1 to 10 of 2344

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    283
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    Is there a way to change to text color on hover over as well. I was also curious if i made something in photoshop can i put it in the place of the hover button. I am just trying to customize this menu so it isnt ordinary. I love it but i have seen some where they look like tabs and so forth. How can i do something like this. Is there some kind of customizing manuel i can check out lol so i dont have to continue to bug you?

    Thanks again for everything

  2. #2
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: CSS Dropdown menu for your header- With Categories!

    Hi jettrue I have a question for you. I have looked but could not find the answer. I am using your Cherry Template and I was wondering how can I use this Mod on that template header. I can not seem to get it to work. What do I need to change in the header.php Thank you for your help.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  3. #3
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by countrycharm View Post
    Hi jettrue I have a question for you. I have looked but could not find the answer. I am using your Cherry Template and I was wondering how can I use this Mod on that template header. I can not seem to get it to work. What do I need to change in the header.php Thank you for your help.
    Read the readme.txt for this mod.

  4. #4
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: CSS Dropdown menu for your header- With Categories!

    Thank you for your fast response jettrue.
    I did read the read me notes for this Mod but I still don't understand how to use this header in place of the other. Actually incorporate it into the cherry template header. Call me stupid lol. Here is my
    web site
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  5. #5
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: CSS Dropdown menu for your header- With Categories!

    I think I have it right now but the drop down menu Looks crooked to me and it is smaller. Is there a way to center it or widen it to match the top link. It looks better in IE than in FF Thank you.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  6. #6
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: CSS Dropdown menu for your header- With Categories!

    I think I have it right now but the drop down menu Looks crooked to me and it is smaller. Is there a way to center it or widen it to match the top link. It looks better in IE than in FF Thank you.
    I thought it look better in IE7 but when you mouse over home I get a white space over on the right end. Anyway when you get a chance let me know what I can do to correct this if you would. These is what I did to the tpl_header.php. I don't know if that was right or not. Sorry for posting so much but I thought I would give an update on what I was doing just in case someone else runs into the same problem.
    My Site
    PHP Code:
    <?php
    /**
     * Common Template - tpl_header.php
     *
     * this file can be copied to /templates/your_template_dir/pagename<br />
     * example: to override the privacy page<br />
     * make a directory /templates/my_template/privacy<br />
     * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br />
     * to override the global settings and turn off the footer un-comment the following line:<br />
     * <br />
     * $flag_disable_header = true;<br />
     *
     * @package templateSystem
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
     */
    ?>
    <!--bof-header logo and navigation display-->
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>
    <?php 
    echo rss_feed_link_alternate(); // RSS Feed ?>
    <!-- divs for drop shadow -->
    <div id="nw"><div id="ne"><div id="se"><div id="sw"><div id="n"><div id="s"><div id="w"><div id="e"><div id="main"><table id="workaround"><tr><td>
       <div id="headerWrapper">
          <!--bof-navigation display-->
          <div id="navMainWrapper">
            <div id="navMainSearch">
              <?php require(DIR_WS_MODULES 'sideboxes/search_header.php'); ?>
            </div>
            <div id="navMain">
              <ul>
                <li><?php echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">'?>
                <?php if ($_SESSION['customer_id']) { ?>
                <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF'''SSL'); ?>">
                <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT'''SSL'); ?>">
                <?php
          
    } else {
            if (
    STORE_STATUS == '0') {
    ?>
                <li><a href="<?php echo zen_href_link(FILENAME_LOGIN'''SSL'); ?>">
                <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT'''SSL'); ?>">
                <?php } } ?>
                <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART'''NONSSL'); ?>">
                <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL'); ?>">
              </ul>
            </div>
          </div>
          <!--bof-drop down menu display-->
    <?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE$current_page_base,'common'). '/tpl_drop_menu.php');?>
       <!--eof-drop down menu display-->
       <div class="clearBoth"></div>
          <!--eof-navigation display-->
          <!--bof-branding display-->
          <div id="logoWrapper" class="clearfix">
            <div id="logo"><?php echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">' zen_image($template->get_template_dir(HEADER_LOGO_IMAGEDIR_WS_TEMPLATE$current_page_base,'images'). '/' HEADER_LOGO_IMAGEHEADER_ALT_TEXT) . '</a>'?></div>
            <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner zen_banner_exists('dynamic'SHOW_BANNERS_GROUP_SET2))) { ?>
            <div id="taglineWrapper">
              <?php
                  
    if (HEADER_SALES_TEXT != '') {
    ?>
              <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
              <?php
                  
    }
    ?>
              <?php
                  
    if (SHOW_BANNERS_GROUP_SET2 != '' && $banner zen_banner_exists('dynamic'SHOW_BANNERS_GROUP_SET2)) {
                    if (
    $banner->RecordCount() > 0) {
    ?>
              <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static'$banner);?></div>
              <?php
                    
    }
                  }
                  
    ?>
            </div>
            <?php // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
          </div>
          <!--eof-branding display-->
          <!--eof-header logo and navigation display-->
          <!--bof-optional categories tabs navigation display-->
          <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
          <!--eof-optional categories tabs navigation display-->
          <!--bof-header ezpage links-->
          <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE$_SERVER['REMOTE_ADDR'])))) { ?>
          <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
          <?php ?>
          <!--eof-header ezpage links-->
        </div>
        <?php ?>





    Thanks
    Last edited by countrycharm; 25 May 2008 at 04:12 PM.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  7. #7
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    I wan't to get rid of the 'Categories' link altogether and instead have the Top Level Categories as their own links on the dropdown menu, and not knowing PHP is hindering me a bit.

    What do I need to do to accomplish this?

  8. #8
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by welchyboy View Post
    Is there a way to change to text color on hover over as well. I was also curious if i made something in photoshop can i put it in the place of the hover button. I am just trying to customize this menu so it isnt ordinary. I love it but i have seen some where they look like tabs and so forth. How can i do something like this. Is there some kind of customizing manuel i can check out lol so i dont have to continue to bug you?

    Thanks again for everything
    div#dropMenu li:hover {color:#000000}

    For hover tabs, you can set a background image for each tab in the css, but first you'll need top open up includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php and follow my instructions here:
    http://www.zen-cart.com/forum/showpo...postcount=1991

    Then you can give each div its own image within the css.

  9. #9

    Default Re: CSS Dropdown menu for your header- With Categories!

    OK, I am going bollistic trying to ge tthis menu to work on my site. I added it to my original site and the entire page disappears. I then added it to a new site (from a fresh install) http://test.ieguana.com following instructions completely. I added the access files where necessary and everything.

    So, if you look at the site I mentioned, you will find my current problem. Hopefully someone can help me with this. I would love to get this working correctly. maybe it is somethign that I am looking to hard for.

  10. #10
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by ieguana View Post
    OK, I am going bollistic trying to ge tthis menu to work on my site. I added it to my original site and the entire page disappears. I then added it to a new site (from a fresh install) http://test.ieguana.com following instructions completely. I added the access files where necessary and everything.

    So, if you look at the site I mentioned, you will find my current problem. Hopefully someone can help me with this. I would love to get this working correctly. maybe it is somethign that I am looking to hard for.
    If its done right, it works.

    You have not uploaded all files into their correct folders. Check, double, triple check. Then check again if its still not working. It's easy to make a mistake.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Categories dropdown menu/css
    By KenshiroU in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Apr 2013, 01:04 PM
  2. HIde categories mod with css dropdown menu
    By adowty in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Feb 2012, 01:05 AM
  3. How to use ezpages/categories as dropdown menu in the header?
    By mdivk in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 21 Dec 2011, 06:32 PM
  4. whats wrong with this css for my dropdown menu?
    By 1kell in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 28 May 2010, 02:47 AM
  5. Header Dropdown Menu (CSS) Without the Dropdown???
    By hcd888 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 May 2009, 01:20 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