Sorry, wrong choice of words, not really a modification
Sorry, wrong choice of words, not really a modification
Hi
How could I set this up so the menu displays on the main page only?
My questions did originate from another thread on the forum but in honesty it is more suitable to post it here.
Great add-on by the way!![]()
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Dunno if this has been posted here, but I thought I'd post this in case it is needed/asked about.
http://www.zen-cart.com/forum/showpo...&postcount=359
Using hideCategories with CSS Flyout Menu
Last edited by DivaVocals; 14 Dec 2011 at 05:16 PM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Is it possible to change the font colors for the level2, level3 in the flyout ?
Thanks
Yes it is. Seeing your implementation live is the best way for us to advise on the correct selectors to use. You can do it yourself if you use the Firefox Web Developer or Firebug extensions (or possibly other browsers' developer tools).
Hi gjh42
Thanks for the response.
I use the internet explorer developer tool but haven't been able to find where to edit the font color and size, i did manage to change the back ground colors. Any further advise. I am not live yet.
In the one foray I made into the IE9 developer tools, I did not see a lot of the important features I am used to in Firefox. IE9 has improved greatly in standards compliance and behavior from previous versions, but it still is not up to the same standards as Firefox and some others. You would be best off using a compliant browser like Firefox for development, and testing along the way in IE. Install the Firefox extensions I mentioned and see what you can do:)
Firebug in particular might help you here, with its ability to identify all style rules that apply to a given element, including ones that are overridden by others.
To use CSS flyout in conjunction with the hide category mod, you must edit /includes/classes/categories_ul_generator.php
Find this line: where c.categories_id = cd.categories_id
Add this below it: and c.categories_id NOT IN(20, 22)
In the above example, this will hide category IDs 20 and 22 from the CSS flyout menu. Change it according to your needs.
Hope this helped someone!
This might work in YOUR store if your hidden category IDs are 20 and 22, but your fix is NOT the best solution..
If you look a few posts up from here on this same page, you'll see I posted a link to the correct way to modify the menu to work with hideCategories.. The solution I posted doesn't require you to know which category IDs are hidden. this way if you add more hidden categories, you not have to edit the menu again..
(I also made it super easy to find using the thread search tools by "embedding" the words "Using hideCategories with CSS Flyout Menu" in the post, and I even changed the post subject to "Using hideCategories with CSS Flyout Menu" for good measure..This post I reference is from the hideCategories support thread)
Last edited by DivaVocals; 21 Jan 2012 at 12:23 AM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Bookmarks