Page 21 of 36 FirstFirst ... 11192021222331 ... LastLast
Results 201 to 210 of 357
  1. #201
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    OOPS!

    I just found out what I did wrong..., For some reason when I copied the code to paste into the tpl_header.php..., it created a space between the < and the first character of code. example: < ? instead of <?.

    DUH!
    Thanks anyway,
    Danny
    Daniel Osko

  2. #202
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Pure CSS Mega Menu

    Quote Originally Posted by danielosko View Post
    OOPS!

    I just found out what I did wrong..., For some reason when I copied the code to paste into the tpl_header.php..., it created a space between the < and the first character of code. example: < ? instead of <?.

    DUH!
    Thanks anyway,
    Danny
    I am happy that you figured it out ;)

    Thanks,

    Anne

  3. #203
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Pure CSS Mega Menu

    Quote Originally Posted by amandavz View Post
    Hi Anne...

    I installed this module and have a questions about brands. I would like to replace the brands (as I won't be using any) with reviews. Is it possible to do this? Thanks.
    Yes, you can edit the includes/templates/override/common/tpl_mega_menu.php file.

    Thanks,

    Anne

  4. #204
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Pure CSS Mega Menu

    Quote Originally Posted by liquidpics View Post
    Looking for a little help customising Mega-menu

    We’ve made a decision to have 9 new Top level categories along a horizontal navigation marked on the attached image in pink. This has been done by taking the standard megamenu dropdown labelled “shop” and copying that piece of code from the tpl megamenu file 9 times and changing the name at the top of each.

    The dropdown, which is marked in blue, is what would usually be Top level cats, and the sub of that, which is marked in green, would be the level 2.

    What I’m trying to do is get the green bit where the blue bit should be. I simply need to move everything up a level, and find some way to tie that in to my own pink 9 top categories.

    I’ve looked at the megamenu generator and other pieces of code with no joy.

    Can anyone give me any starters on how this can be achieved?

    Thanks for any input.

    Kristian
    Attachment 13178
    If you post a link to your site I can take a look.

    If you only want to show the top level catetgories, I would recommend using this menu as it will need much less customization:

    http://www.zen-cart.com/downloads.php?do=file&id=1243

    Thanks,

    Anne

  5. #205
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Hi Anne,

    The Mega Menu was installed and worked great! However, I noticed that I had a large blank area at the bottom of every page on the website. (see pic). So I uninstalled the menu and all pages displayed normally, with only a few pixels of blank spaces which are wanted. I re-installed the menu and the menu once again worked great, but the large blank area returned.

    Name:  bottom_space.jpg
Views: 214
Size:  12.2 KB

    If I simply remove the code in the tpl_header.php all pages display normally.., but when I include it I get like 12" of blank space.

    <!--bof-mega menu display-->
    <?php require($template->get_template_dir('tpl_mega_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_mega_menu.php'); ?>
    <!--eof-mega menu display-->
    <div class="clearBoth"></div>


    Any ideas on how to resolve the issue?
    Thank You Much!
    Danny
    Daniel Osko

  6. #206
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Pure CSS Mega Menu

    Quote Originally Posted by danielosko View Post
    Hi Anne,

    The Mega Menu was installed and worked great! However, I noticed that I had a large blank area at the bottom of every page on the website. (see pic). So I uninstalled the menu and all pages displayed normally, with only a few pixels of blank spaces which are wanted. I re-installed the menu and the menu once again worked great, but the large blank area returned.

    Name:  bottom_space.jpg
Views: 214
Size:  12.2 KB

    If I simply remove the code in the tpl_header.php all pages display normally.., but when I include it I get like 12" of blank space.

    <!--bof-mega menu display-->
    <?php require($template->get_template_dir('tpl_mega_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_mega_menu.php'); ?>
    <!--eof-mega menu display-->
    <div class="clearBoth"></div>


    Any ideas on how to resolve the issue?
    Thank You Much!
    Danny
    I have not looked at your site, but my guess is that it is the length of your manufacturers and/or shop categories that is causing the space.

    Thanks,

    Anne

  7. #207
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Wow Anne.., your GOOD!

    That is exactly what is causing it. Do you know where in the CSS that I can make the spacing between the "Shop" category titles and also the "Brands" name titles smaller?

    Thanks again,
    Danny
    Daniel Osko

  8. #208
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Pure CSS Mega Menu

    Quote Originally Posted by danielosko View Post
    Wow Anne.., your GOOD!

    That is exactly what is causing it. Do you know where in the CSS that I can make the spacing between the "Shop" category titles and also the "Brands" name titles smaller?

    Thanks again,
    Danny
    If you post a link to your site I can take a look ;)

    Thanks,

    Anne

  9. #209
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Hi Anne,

    Thanks, but the site is under development on my local server. I found out where to adjust the line spacing, (line height), here is the code:

    .mega-menu li:hover div a {text-decoration:none;border:none;padding:0;line-height:15px;}

    However, the "Brands" list of the manufacturer names is still too long. So I guess I'm left with one of three options:
    1) Remove the "Brands" container
    2) Shorten the list of manufacturer names within the "Brands" container
    3) or preferably convert the "Brands" container into three columns.

    Unfortunately, I can not find enough detailed information about doing any of them.

    Any thoughts or tips?
    Danka,
    Danny
    Daniel Osko

  10. #210
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Hi All,

    I figured out how to make the "Brands" container into TWO columns instead of one.

    First, open the tpl_mega_menu.php file.

    Next, find:

    <li class="manufacturers-li"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>" class="drop"><?php echo HEADER_TITLE_MANUFACTURERS; ?></a><!--bof shop by brand -->
    <div class="dropdown_1column">
    <div class="col_1 firstcolumn">

    <ul >
    <?php

    $show_manufacturers= true;

    // for large lists of manufacturers uncomment this section
    /*
    if (($_GET['main_page']==FILENAME_DEFAULT and ($_GET['cPath'] == '' or $_GET['cPath'] == 0)) or ($request_type == 'SSL')) {
    $show_manufacturers= false;
    } else {
    $show_manufacturers= true;
    }
    */
    and REPLACE it with:

    <li class="manufacturers-li"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>" class="drop"><?php echo HEADER_TITLE_MANUFACTURERS; ?></a><!--bof shop by brand -->
    <div class="dropdown_2columns">
    <div class="col_2">

    <ul >
    <?php

    $show_manufacturers= true;

    // for large lists of manufacturers uncomment this section

    if (($_GET['main_page']==FILENAME_DEFAULT and ($_GET['cPath'] == '' or $_GET['cPath'] == 0)) or ($request_type == 'SSL')) {
    $show_manufacturers= false;
    } else {
    $show_manufacturers= true;
    }
    That's it, you now have two columns in your "Brands" container.

    Hope this helps someone else as well.
    Danny
    Daniel Osko

 

 
Page 21 of 36 FirstFirst ... 11192021222331 ... LastLast

Similar Threads

  1. Help with Mega Menu css customization
    By swdynamic in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Jul 2013, 01:21 AM
  2. v139h Mega Menu Mess
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Nov 2012, 07:58 PM
  3. v150 Mega Menu assistance
    By Fancyfrills in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 24 Aug 2012, 06:16 PM
  4. Horizontal Drop Menu sort order of mega-menu
    By familynow in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 19 Oct 2011, 04:39 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR