![]() |
Horizontal Categories menu
How to create the horizontal categories menu?
I know how to style it with dropdown but what code it needs to display categories/subcategories dynamically? Something like this: PHP Code:
Can I copy code from existing template somewhere in xcart? Is there a topic somewhere on the forums that I missed? I searched but could not find anything for Gold 4.4.2 Thanks. |
Re: Horizontal Categories menu
Im trying out moving my flyout categories, that are displayed vertically in the left bar so that they are displayed horrizontally just under the speed bar. I have sorted the css so that the menu sits in the right place, so that the main part of the screen is full width, but am not sure how to get the categories to display horrizontally not vertically.
it sounds like your trying to do a similar thing. I guess I should be changing something in skin1/customer/categories.tpl |
Re: Horizontal Categories menu
Yeah, I was trying to avoid using flyout menu as I already have the dropdown styles just with css, no JQuery but need the code to display root categories as main links and on hover to display that category subcategories in a list.
In your case you could create new tpl file (e.g. topmenu.tpl) copy flyout code to it and call it in your home or header file (depending where you want it to show). Of course you'll have to remove {if flyout enabled...} code so you can keep module disabled for sidebar menu. You might need to clone categories.tpl too for use on your new topmenu, not sure without looking at the files. Something along those lines. |
Re: Horizontal Categories menu
Just use the fancy_subcategories.tpl to build the links and make it use your styles instead of the default XC
|
Re: Horizontal Categories menu
yes, that goes just a bit beond my capabilites i think!
|
All times are GMT -8. The time now is 04:35 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.