View Single Post
  #1  
Old 03-04-2011, 08:32 PM
 
FineDesign FineDesign is offline
 

Member
  
Join Date: Dec 2010
Posts: 28
 

Default How to move the subcategory flyout menu (z-index problem?)

One of the categories on my leftbar cat menu has about 20 subcats. Unfortunately, 20 subcats run the flyout menu for that category off the bottom of the page.

I▓m attempting to change the starting position of the <ul> for the flyout subcat menu (I want to move it up so it doesn▓t run off the page). I▓ve been able to move the flyout subcat menu up, but for some reason a) I▓m losing the first 3-4 subcat menu items (they don▓t show at the top), and b) the <ul> for the FIRST cat menu item lays on top of my flyout subcat menu.

My first thought was, okay, it sounds like a z-index problem. I▓ve dug into the templates, found where I think the <ul> and <li>▓s for the flyout subcat menu is being created (in fancy_subcategories.tpl), but here▓s ⌠the rub■ - when I analyze and step through the code, it appears that fancy_subcategories.tpl is never executed (it doesn▓t show in the Debugging Console template list either). The only thing I see that might be creating the <ul><li> flyout subcat menu is the following statement in fancy_categories.tpl:

if {$fancy_use_cache} {fancycat_get_cache}

I checked, and $fancy_use_cache has a value of 1, which means fancycat_get_cache (which I▓m assuming is an X-Cart defined function) IS executed. Where is this function defined? How do I change it to give higher z-index values to the <li>▓s on my flyout subcat menu?

I▓ve thought about making the font sizes smaller, and decreasing the padding to try and make the flyout subcat menu ⌠fit■ on the page, but my client wants to cater to people with less than perfect eyesight, so that▓s not an option. Going to a horizontal menu won▓t ⌠buy■ me quite enough room either.

Any knowledge of how this works is greatly appreciated.


I'm running X-Cart Pro, v4.4.2.


Thanks!
__________________
4.4.1
Reply With Quote