Results 1 to 10 of 2344

Hybrid View

  1. #1
    Join Date
    Mar 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for the header- With Categories!

    Is it possible to toggle Login/Logoff on the menu ?

    Thanks, John

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: CSS Dropdown menu for the header- With Categories!

    Quote Originally Posted by johncrr View Post
    Is it possible to toggle Login/Logoff on the menu ?

    Thanks, John
    There's no "on/off" switch, but the file can be edited to NOT display it;

    Just look in includes/templates/CUSTOM/common/tpl_drop_menu.php at around lines 100-111. You can either comment them out or delete them totally. Either way the menu will not display those links.

    That section of code mentioned above should look exactly like this:

    Code:
    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
                  <ul class="level2">
                    <?php if ($_SESSION['customer_id']) { ?>
                    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
                    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
                    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT_NEWSLETTERS, '', 'SSL'); ?>"><?php echo HEADER_TITLE_NEWSLETTERS; ?></a></li>
                    <?php } else { ?>
                    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
                    <li><a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CREATE_ACCOUNT; ?></a></li>
                    <?php } ?>
                  </ul>
                </li>
    Hope this helps.
    Robert
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for the header- With Categories!

    I have this mod installed on my web site

    www.allforyourwedding.com


    I have a question. I have way to many categories. Is there any way they can be automatically set to say go 10 down and then a new column.
    Or could someone tell me a better way I can handle this? My only last thought would to just have a button called "Categories" that someone would click and it gives them them in the center...

  4. #4
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: CSS Dropdown menu for the header- With Categories!

    milo,

    I'm REAL busy today, but I had a couple of minutes to spare, so I done you some "quick & dirty" css just to get you started. It REALLY is dirty too, so you'll have to correct things, as I just added these lines to the very bottom of your stylesheet, making them override previous code. Anyway, this should get you on your way, anyway:

    Code:
    .col_1.firstcolumn, .dropdown_1column {max-height: 500px; width: 874px; background: skyblue!important; margin-top: -5px;}
    
    div#wrapper_menu>ul>li>div>div>ul>ul>li>ul {background: black!important; z-index: 1000;}
    See?...............Told you it was "dirty". Also, if you notice, to make sure you know which column is which, I've left "named" colors there for you.

    Sorry so quick, sorry so dirty, but hope it helps get you started.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  5. #5
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for the header- With Categories!

    What CSS file do I add this to the bottom to?

    thanks

  6. #6
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: CSS Dropdown menu for the header- With Categories!

    Quote Originally Posted by milobloom View Post
    What CSS file do I add this to the bottom to?

    thanks
    The end of your template's stylesheet..

    BTW, you do know the menu your template uses is not the menu that this support thread is for?? (unless Anne has simply combined this menu's stylesheet with the template stylesheet)
    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.

  7. #7
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: CSS Dropdown menu for the header- With Categories!

    Diva's correct..............on all accounts:

    1) at the bottom of your templates' stylesheet, since the MENU'S stylesheet isn't there.
    2) This is not the correct thread for this particular menu, as it's NOT in the downloads, but rather custom built by starting with a mega-menu which you can find more information on HERE and HERE. Once you get there, you can most likely get some use the information to re-design yours even better, as what I showed you earlier really is a "dirty" quick-fix that I was kinda' ashamed to post, but don't have much time today, so...........
    3) (unless Anne has simply combined this menu's stylesheet with the template stylesheet). Diva, isn't this Brandon Turpin's template?

    The thread for it is HERE, which would probably be a better place for milo to get his answer.



    Hope this helps,
    Robert
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

 

 

Similar Threads

  1. Categories dropdown menu/css
    By KenshiroU in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Apr 2013, 01:04 PM
  2. HIde categories mod with css dropdown menu
    By adowty in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Feb 2012, 01:05 AM
  3. How to use ezpages/categories as dropdown menu in the header?
    By mdivk in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 21 Dec 2011, 06:32 PM
  4. whats wrong with this css for my dropdown menu?
    By 1kell in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 28 May 2010, 02:47 AM
  5. Header Dropdown Menu (CSS) Without the Dropdown???
    By hcd888 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 May 2009, 01:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg