Page 5 of 235 FirstFirst ... 345671555105 ... LastLast
Results 41 to 50 of 2345
  1. #41
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

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

    jtschrade,

    The menu should be dynamic, which means that the dropdown menu should be built as you add categories without you having to edit anything else.

    Is it not working that way?

  2. #42
    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 birdoasis View Post
    jtschrade,

    The menu should be dynamic, which means that the dropdown menu should be built as you add categories without you having to edit anything else.

    Is it not working that way?
    He's asking that ONLY the categories show at the top. He would like the categories to be on the top level, vs. HOME CATEGORIES INFORMATION CONTACT US MY ACCOUNT SHOPPING CART.

    Which I think can be done, it will just take a bit of adjusting. jtschrade, i'll look into this more soon.

  3. #43
    Join Date
    Jan 2007
    Posts
    5
    Plugin Contributions
    0

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

    That is what I want. Basically, I want it to be arranged like the default setting where each category name is listed horizontally under the banner; but I want it to be a drop down where as you pass over a category the drop down shows the subcategories. Possibly combining the code from those two areas would work. But again, I'm a beginner.

  4. #44

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

    Thank you very much for this CSS Dropdown menu Jade True.
    Quite a beautiful piece of work!


    It works perfectly in Internet Explorer (probably by far the most popular browser the customers will be using anyways) but in Firefox there is a problem that occurs only when the font is enlarged twice beyond the normal size (truthfully I'm not sure if anyone wants their fonts this big, but perhaps). What seems to happen is that a gap between the menu and submenu makes it just big enough so the submenu can't actually be reached for clicking the link. Really no big-deal seeing as how only a small percentage of visitors would ever experience this, and they still have other ways to navigate. Here is a site ( http://www.fabricstashinc.com/cart ) where it happens, but I think it happens on any site with the menu.

    Many thanks for this contribution!

  5. #45
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

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

    Quote Originally Posted by jettrue View Post
    He's asking that ONLY the categories show at the top. He would like the categories to be on the top level, vs. HOME CATEGORIES INFORMATION CONTACT US MY ACCOUNT SHOPPING CART.

    Which I think can be done, it will just take a bit of adjusting. jtschrade, i'll look into this more soon.
    Possibly can build the category dropdowns upon the Categories Tabs feature integrated into recent Zen Cart versions.

    Admin > Configuration > Layout Settings > Categories-Tabs Menu > ON/OFF

    However, displaying two different horizontal menu bars, one on top of the other, each with drop downs could prove problematic.

    And the number of categories in a shop is dynamic, so designing the horizontal categories menu bar looks good when there is only two categories vs. ten or twenty or more top level categories and when to set the categories list to wrap, sounds like a tough job. And there are the subcategories to deal with.
    Last edited by Woodymon; 3 Mar 2007 at 12:55 PM.

  6. #46
    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 rainthebat View Post
    Thank you very much for this CSS Dropdown menu Jade True.
    Quite a beautiful piece of work!


    It works perfectly in Internet Explorer (probably by far the most popular browser the customers will be using anyways) but in Firefox there is a problem that occurs only when the font is enlarged twice beyond the normal size (truthfully I'm not sure if anyone wants their fonts this big, but perhaps). What seems to happen is that a gap between the menu and submenu makes it just big enough so the submenu can't actually be reached for clicking the link. Really no big-deal seeing as how only a small percentage of visitors would ever experience this, and they still have other ways to navigate. Here is a site ( http://www.fabricstashinc.com/cart ) where it happens, but I think it happens on any site with the menu.

    Many thanks for this contribution!
    You're welcome.

    In my original design of this dropdown menu, I did everything in em's so that font resizing wouldn't be an issue. I did this as part of my Apple Zen template:
    http://www.zencart137.jadetrue.com/

    You'll notice the same issue doesn't occur there.

    When I put the download together of the header menu only, I changed the em's to px's to avoid issues with people who were using a fixed width site.

    What you can do is, open up the stylesheet_header_menu.css and change the first two instances of "25px" to "2.17em"

    Then change div#dropMenu li a to this:
    div#dropMenu li a {display: block; padding: .6em 25px ;text-decoration: none; text-transform:uppercase; color:#ffffff; text-align:center; border-right:1px solid #ffffff;}

  7. #47

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

    Thanks Jade,
    I see how changing the height from pixels to ems would allow this menu to function perfectly when the text size is increased.

  8. #48
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

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

    Quote Originally Posted by jettrue View Post
    Open up your stylesheet_lightbox.css and add a zero to the end of all of the z-index's. So if it says "z-index:10", change it to "z-index:100"
    If it says "z-index:90", change to "z-index:900", etc.
    Hi Jade,

    Finally installed your new the header dropdown menu mod on Zen Cart v.1.37. Very nice and thanks

    I also have Zen Lightbox installed and I too observed same issue of menu bar showing over Lightbox image (in both Firefox and IE). Then followed your CSS edit instructions above and the menu now appears behind the image, which is much better. Thanks.

    However would you have any CSS tricks up your sleeve on how to "completely" hide the header menu on the lightbox image pages?

    Also I note after changing the CSS above to display the the menu bar behind the Zen Lightbox image, the menu bar links and dropdowns are still "live" and clickable in IE, but not in Firefox.

    Woody
    Last edited by Woodymon; 5 Mar 2007 at 06:04 AM.

  9. #49
    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 Woodymon View Post
    Hi Jade,

    Finally installed your new the header dropdown menu mod on Zen Cart v.1.37. Very nice and thanks

    I also have Zen Lightbox installed and I too observed same issue of menu bar showing over Lightbox image (in both Firefox and IE). Then followed your CSS edit instructions above and the menu now appears behind the image, which is much better. Thanks.

    However would you have any CSS tricks up your sleeve on how to "completely" hide the header menu on the lightbox image pages?

    Also I note after changing the CSS above to display the the menu bar behind the Zen Lightbox image, the menu bar links and dropdowns are still "live" and clickable in IE, but not in Firefox.

    Woody
    No, I wouldn't know how to "completely" hide it, but changing #overlay's z-index to 1000 will help hide it like the rest of the site. Perhaps that will help it from still functioning as well.

  10. #50
    Join Date
    Apr 2006
    Posts
    242
    Plugin Contributions
    0

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

    to fix the Lightbox issue.....

    In tpl_header.php add this code:

    Code:
       <div class="flash"><?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?></div>

    Just add: <div class="flash"> menu code here. </div> around the menu code.

    This will fix the lightbox issue at least it does for me. You get the same issue with flash objects.

    Ps. make sure you have the latest lightbox

 

 
Page 5 of 235 FirstFirst ... 345671555105 ... 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

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