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

    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

  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
    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

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

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

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

  6. #6
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    How to have menu bar with no gradient background, but trasparent?

  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 100asa View Post
    How to have menu bar with no gradient background, but trasparent?
    You will edit the includes/templates/override/css/stylesheet_mega_menu.css file.

    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