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
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
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
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:<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;
}
*/
That's it, you now have two columns in your "Brands" container.<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;
}
Hope this helps someone else as well.
Danny![]()
Daniel Osko
How to have menu bar with no gradient background, but trasparent?