Forum Replies Created
-
Thats what i used at the moment, a custom menu, copied the generated code and put that in a javascript in a text/html widget.
What i want to do is to generate the menu instead of hardcode it, so that if a certain brand/category doesn’t have any items it stays hidden, and if i remove/add a brand/category it’s added to the menu.
So what i want to do is create a widget to get all the categories, and put them in an array. On loading the page i make a loop asking for the first x items in the array, and put a “show more” link after. When that link is clicked, we generate the rest of the categories and replace the “show more” link with a show less.
Should i use php or JQuery for this? Or a mix? Can i add this to the theme?
Most of the plugins i found are or showing all the categories, or none. Or showing the main categories and onclick the subcategories. This isn’t what i need and i couldnt find any plugin yet for doing this.
i thought it should work when you add it to the custom css (graphene options –> display –> completely in the bottom).
does it help if you add this to your css? I think it resolves it in Firefox, but i don’t know about other browsers.
Viewing 3 posts - 1 through 3 (of 3 total)
