Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!
Using CONTACT_US as an example. Goal is to remove the underscore. Any menu tab that contains more than one word is requiring an underscore between each word.
Here is a current screenshot
Yes, if you're linking to Zen-Cart files such as Contact Us, then in includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php you will see how it was added:
Then to keep it from showing in the Menu as CONTACT_US, you will see that the entry is defined in includes/languages/english/extra_definitions/YOUR_TEMPLATE/headermenu.php asCode:<li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CONTACT_US; ?></a></li>
Code:define('HEADER_TITLE_CONTACT_US','Contact Us');
But............like I say, that's for using pre-existing Zen-Cart files, such as the Contact Us Page. For adding Top-Level links of your own that does NOT use pages, just add your link in the tpl_drop_menu.php Something like:
Code:<li class="submenu"><a href="your_top-level_link.php">My Link</a></li> <ul class="level2"> <li><a href="your_second-level_link.php">My Link 2</a></li> <li><a href="your_third-level_link.php">My Link 3</a></li> </ul>
hope this helps.
Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!
Thank you for the information. I think I may have solved the problem..
Hi! This mod is Great! I'm trying to 'light up' the different dropMenu's (div#dropMenu li a:hover) when hovered, so that their color changes from dark blue to light blue.. I've tried emulating this effect with opacity settings but I cant get it right. Any help would be terriffic, I'm pretty much stuck here...
www.develop.centuriongames.se
Thanks!
Jacob
I am using ZC 1.3.7 and just installed all of the CSS Flyout Header files but nothing is showing up. I have been through the file structure several times to make sure that I have in fact put everything where it is supposed to go and everything seems to be in place. Only the Catagory tabs I already had in place are visible, but no drop down menu. Is there something I have to turn on or turn off in the admin to get it to show up?
My site: http://www.monumentsplus.com
Thank you.
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.
From dark blue to light blue. After looking at your site, I assume you're talking about the background color and NOT the font color, correct?
If so, then add this to your stylesheet:
This will change the Main Menu ONLY upon hover:
Now this will change colors on ALL LEVELS upon hover:Code:#dropMenu ul.level1>li:hover { background: #87ceeb; }
Hope this helps.Code:#dropMenu ul.level1 li:hover { background: #87ceeb; }
P.S. opacity wouldn't change the color, anyway. It would just make it transparent to a certain degree depending on what your setting was.
Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!
Bookmarks