Results 1 to 10 of 357

Hybrid View

  1. #1
    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.

    Click image for larger version. 

Name:	bottom_space.jpg 
Views:	244 
Size:	12.2 KB 
ID:	13246

    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

  2. #2
    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.

    Click image for larger version. 

Name:	bottom_space.jpg 
Views:	244 
Size:	12.2 KB 
ID:	13246

    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

  3. #3
    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

  4. #4
    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

  5. #5
    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

  6. #6
    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

  7. #7
    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 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:



    and REPLACE it with:



    That's it, you now have two columns in your "Brands" container.

    Hope this helps someone else as well.
    Danny
    Thanks for posting your solution ;) If you read further back in the thread I believe that there are also some suggestions for converting the catgegories drop down to a multi column which could be applied to the brands drop down as well.

    Thanks,

    Anne

 

 

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

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