Zen Cart Logo
Forums / All Other Contributions/Addons / Pure CSS Mega Menu

Pure CSS Mega Menu

Views: 71,332

Results 101 to 120 of 357
5 Apr 2013, 4:25 PM
#101
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Pure CSS Mega Menu

DivaVocals:

This post caught my attention.. I want to limit the categories shown in the categories dropdown.. How would this code have to be structured if I wanted more than one category.. ie: a list of specific categories versus just a sing category or ALL categories... Would the categories_ul_generator.php require other changes as well??
Sorry to bump this, but how would one need to modify the **categories_ul_generator.php **to limit the categories shown in the dropdown to a specific list of categories.. Since many menus use this same class file to generate categories, I've read a ton of threads which provide general info on doing this, but not enough info for me to figure it out on my own.. this puzzle is a bit over my head, and I could sure use a hand form anyone willing to help a lady out here.. :smile:

5 Apr 2013, 7:19 PM
#102
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Pure CSS Mega Menu

gjh42:

Editable Centerboxes from Plugins allows standard sideboxes to be used in the center column, and the code that does it may be able to be adapted to work in the mega-menu environment.

In fact, it might be that you can just install Editable Centerboxes, not use any of the standard box locations, and move or add a simple function call to "middleboxes" in the mega-menu code. The readme for that mod has more info about this.

Thanks for posting, Glen. I did not know that the editable centerboxes module did this! I will have to play around with it and see what I can come up with :-) Thank you for such a useful module.

Thanks,

Anne

7 Apr 2013, 7:36 PM
#103
decoy26517 avatar

decoy26517

New Zenner

Join Date:
Aug 2011
Posts:
1
Plugin Contributions:
0

Re: Pure CSS Mega Menu

wdkstudio:

Hi Nigel

I am attempting to achieve a split categories menu and was interested in how you achieved this. I cannot find this query in the categories_ul_generator.php, and wondered whether you could either post the whole revised categories_ul_generator.php file or alternatively message me. Thank you

WDK

Hey,

has anyone been able to accomplish something like this yet with the CSS Mega Menu system?
I'm looking for something similar to how the information tab is split into subcategories horizontally.

8 Apr 2013, 2:21 PM
#104
prograde1000 avatar

prograde1000

New Zenner

Join Date:
Apr 2013
Location:
IN
Posts:
4
Plugin Contributions:
0

Re: Pure CSS Mega Menu

picaflor-azul:

If you want to hide the current navigation bar, just add a display:none; to the #navMainWrapper in your stylesheet.css file.

Thanks,

Anne

I am having the same trouble of a double navigation bar. Ver 1.50, with a Bask Black template. My site is http://progradecabinets.com/ . I tried adding the display:none; to #navMainWrapper in my stylesheet.css file as suggested, but it made no difference. Any other suggestions? Thanks.

8 Apr 2013, 3:28 PM
#105
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Pure CSS Mega Menu

prograde1000:

I am having the same trouble of a double navigation bar. Ver 1.50, with a Bask Black template. My site is http://progradecabinets.com/ . I tried adding the display:none; to #navMainWrapper in my stylesheet.css file as suggested, but it made no difference. Any other suggestions? Thanks.

try locating this in your templates stylesheet and just add the red part and save

#header_bar{
display: none;
background: url("../images/nav_center.gif") repeat-x;
height: 46px;
line-height: 4em;
width: 100%;
}

hope that helps

9 Apr 2013, 4:47 PM
#106
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Pure CSS Mega Menu

prograde1000:

I am having the same trouble of a double navigation bar. Ver 1.50, with a Bask Black template. My site is http://progradecabinets.com/ . I tried adding the display:none; to #navMainWrapper in my stylesheet.css file as suggested, but it made no difference. Any other suggestions? Thanks.

Add this to the bottom of your stylesheet.css file;

#header_bar {display:none;}

Thanks,

Anne

9 Apr 2013, 4:47 PM
#107
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Pure CSS Mega Menu

DarkAngel:

try locating this in your templates stylesheet and just add the red part and save

#header_bar{
display: none;
background: url("../images/nav_center.gif") repeat-x;
height: 46px;
line-height: 4em;
width: 100%;
}

hope that helps

Yes, this is correct ;-)

Thanks,

Anne

9 Apr 2013, 6:52 PM
#108
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Pure CSS Mega Menu

picaflor-azul:

Yes, this is correct ;-)

Thanks,

Anne

no problem, I am still really learning this stuff but with tweaking my own and others codes I am getting a little hang onto it...but not much.

9 Apr 2013, 8:05 PM
#109
prograde1000 avatar

prograde1000

New Zenner

Join Date:
Apr 2013
Location:
IN
Posts:
4
Plugin Contributions:
0

Re: Pure CSS Mega Menu

Adding "display: none;" to header bar worked perfectly.

Thanks! Great Add on too.

10 Apr 2013, 12:24 PM
#110
prograde1000 avatar

prograde1000

New Zenner

Join Date:
Apr 2013
Location:
IN
Posts:
4
Plugin Contributions:
0

Re: Pure CSS Mega Menu

Hello,

When I removed the second navigation bar, it also removed my search bar. Is it possible to keep the search bar? v1.50 Bask Black Template, http://progradecabinets.com

11 Apr 2013, 8:10 PM
#111
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Pure CSS Mega Menu

prograde1000:

Hello,

When I removed the second navigation bar, it also removed my search bar. Is it possible to keep the search bar? v1.50 Bask Black Template, http://progradecabinets.com

You will have to edit your tpl_header.php file and take the code for the header search out of the div that you added the display:none; to.

Thanks,

Anne

12 Apr 2013, 8:43 PM
#112
prograde1000 avatar

prograde1000

New Zenner

Join Date:
Apr 2013
Location:
IN
Posts:
4
Plugin Contributions:
0

Re: Pure CSS Mega Menu

Thank you again. I cut the code for the search and pasted at the end of the file, and presto, I have my search bar back.

14 Apr 2013, 2:56 PM
#113
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Pure CSS Mega Menu

prograde1000:

Thank you again. I cut the code for the search and pasted at the end of the file, and presto, I have my search bar back.

I am happy that you figured it out :-)

Thanks,

Anne

14 Apr 2013, 4:16 PM
#114
johnnyscience avatar

johnnyscience

Zen Follower

Join Date:
Jan 2013
Posts:
104
Plugin Contributions:
0

Re: Pure CSS Mega Menu

So there is a hovermenu over the "Info" tab & there are some things I'd like to edit out, even completely disable one of the two columns & maybe just combine one of the links from the left & put it in the single list.

Say I want to ghost out the entire General Info column, where/what would I put to do so?

Here is the code that I can't seem to ghost out:

<li class="information-li"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>" class="drop"><?php echo HEADER_TITLE_INFORMATION; ?></a><!-- bof information -->
 
	    <div class="dropdown_info">
        
		<div class="col_1">
            	    <h3><?php echo TITLE_GENERAL; ?></h3>
                    <ul>
			<li><a href="<?php echo zen_href_link(FILENAME_ABOUT_US); ?>"><?php echo BOX_INFORMATION_ABOUT_US; ?></a></li>
                	<?php if (DEFINE_SITE_MAP_STATUS <= 1) { ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_SITE_MAP); ?>"><?php echo BOX_INFORMATION_SITE_MAP; ?></a></li>
                	<?php } ?>
              		<?php if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') { ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_GV_FAQ, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_GV; ?></a></li>
                	<?php } ?>
                	<?php if (MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') { ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_DISCOUNT_COUPON, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_DISCOUNT_COUPONS; ?></a></li>
                	<?php } ?>
               		<?php if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') { ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_UNSUBSCRIBE, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_UNSUBSCRIBE; ?></a></li>
                	<?php } ?>
                     </ul>   
                 </div>
    
		<div class="col_1">
                     <h3><?php echo TITLE_CUSTOMERS; ?></h3>
                     <ul>
			<?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 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 } ?>
                    	<li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_CONTACT; ?></a></li>
                        <?php if (DEFINE_SHIPPINGINFO_STATUS <= 1) { ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_SHIPPING); ?>"><?php echo BOX_INFORMATION_SHIPPING; ?></a></li>
                        <?php } ?>
                        <?php if (DEFINE_PRIVACY_STATUS <= 1)  { ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_PRIVACY); ?>"><?php echo BOX_INFORMATION_PRIVACY; ?></a></li>
                        <?php } ?>
                        <?php if (DEFINE_CONDITIONS_STATUS <= 1) { ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_CONDITIONS); ?>"><?php echo BOX_INFORMATION_CONDITIONS; ?></a></li>
                        <?php } ?>
                     </ul>   
                 </div>
14 Apr 2013, 5:21 PM
#115
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Pure CSS Mega Menu

I changed one to just one column without header name by changing this

<div class="dropdown_info">
    <div class="col_1">
                <h3><?php echo TITLE_GENERAL; ?></h3>

to this after I decided what I wanted to keep in that tab...then put the others into another tab and named it Account Info...lol

<div class="dropdown_1column"> <div class="col_1 firstcolumn"> <ul class="levels">

This way I split it into two tabs with general info in one and the account info in the other like:

<li class="information-li"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>" class="drop">General Information</a><!-- bof information -->
 
 <div class="dropdown_1column">
                <div class="col_1 firstcolumn">
                   <ul class="levels">
                   <?php if (DEFINE_SITE_MAP_STATUS <= 1) { ?>
                    <li><a href="<?php echo zen_href_link(FILENAME_SITE_MAP); ?>"><?php echo BOX_INFORMATION_SITE_MAP; ?></a></li>
                    <?php } ?>
                      <?php if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') { ?>
                    <li><a href="<?php echo zen_href_link(FILENAME_GV_FAQ, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_GV; ?></a></li>
                    <?php } ?>
                    <?php if (MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') { ?>
                    <li><a href="<?php echo zen_href_link(FILENAME_DISCOUNT_COUPON, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_DISCOUNT_COUPONS; ?></a></li>
                    <?php } ?>
                       <?php if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') { ?>
                    <li><a href="<?php echo zen_href_link(FILENAME_UNSUBSCRIBE, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_UNSUBSCRIBE; ?></a></li>
                    <?php } ?>
                     </ul>   
                 </div>
      </li><!-- eof information -->

That way I could delete what I did not want showing from the code of the mod. Note that I also removed the <?php if (DEFINE_SITE_MAP_STATUS <= 1) { ?> parts

The account info one looks like this:

<li class="account-li"><a href="[B]YOUR STORE LINK[/B]" class="drop">Account Info</a><!-- bof account -->
 
 <div class="dropdown_1column">
                <div class="col_1 firstcolumn">
                   <ul class="levels">
                   
                   
                    <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 TITLE_NEWSLETTERS; ?></a></li>
                    
                    <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>
                
                        <li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_CONTACT; ?></a></li>
                        
                       
                     </ul>   
                 </div>

                

      </li><!-- account -->
                   
15 Apr 2013, 4:17 AM
#116
johnnyscience avatar

johnnyscience

Zen Follower

Join Date:
Jan 2013
Posts:
104
Plugin Contributions:
0

Re: Pure CSS Mega Menu

Well I was able to put them into a single column by just changing the width of the column.

But what/where do I add <!-- --> or /**/

I tried both in multiple areas/configurations & I couldn't get any of the code to ghost out.

I've highlighted the specific parts of the code I'd like to ghost out so they don't show up on the drop down menu.

<li class="information-li"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>" class="drop"><?php echo HEADER_TITLE_INFORMATION; ?></a><!-- bof information -->
 
	    <div class="dropdown_info">
        
		<div class="col_1">
            	    <h3><?php echo TITLE_GENERAL; ?></h3>
                    <ul>
			<li><a href="<?php echo zen_href_link(FILENAME_ABOUT_US); ?>"><?php echo BOX_INFORMATION_ABOUT_US; ?></a></li>
                	<?php if (DEFINE_SITE_MAP_STATUS <= 1) { ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_SITE_MAP); ?>"><?php echo BOX_INFORMATION_SITE_MAP; ?></a></li>
                	<?php } ?>
              		<?php if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') { ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_GV_FAQ, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_GV; ?></a></li>
                	<?php } ?>
                	<?php if (MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') { ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_DISCOUNT_COUPON, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_DISCOUNT_COUPONS; ?></a></li>
                	<?php } ?>
               		<?php if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') { ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_UNSUBSCRIBE, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_UNSUBSCRIBE; ?></a></li>
                	<?php } ?>
                     </ul>   
                 </div>
    
		<div class="col_1">
                     <h3><?php echo TITLE_CUSTOMERS; ?></h3>
                     <ul>
			<?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 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 } ?>
                    	<li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_CONTACT; ?></a></li>
                        <?php if (DEFINE_SHIPPINGINFO_STATUS <= 1) { ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_SHIPPING); ?>"><?php echo BOX_INFORMATION_SHIPPING; ?></a></li>
                        <?php } ?>
                        <?php if (DEFINE_PRIVACY_STATUS <= 1)  { ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_PRIVACY); ?>"><?php echo BOX_INFORMATION_PRIVACY; ?></a></li>
                        <?php } ?>
                        <?php if (DEFINE_CONDITIONS_STATUS <= 1) { ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_CONDITIONS); ?>"><?php echo BOX_INFORMATION_CONDITIONS; ?></a></li>
                        <?php } ?>
                     </ul>   
                 </div>
15 Apr 2013, 7:47 AM
#117
liquidpics avatar

liquidpics

New Zenner

Join Date:
Oct 2008
Posts:
12
Plugin Contributions:
0

Re: Pure CSS Mega Menu

Has anyone managed to get the categories to work dynamically in a 4 column box? This site has done it nicely with level one as the header and the relevant subs below, but if not sure if it's dynamic or hard-coded (click on dog-shop under the logo):

http://tinyurl.com/rbvswj

Cheers

Kristian

15 Apr 2013, 5:55 PM
#118
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Pure CSS Mega Menu

liquidpics:

Has anyone managed to get the categories to work dynamically in a 4 column box? This site has done it nicely with level one as the header and the relevant subs below, but if not sure if it's dynamic or hard-coded (click on dog-shop under the logo):

http://tinyurl.com/rbvswj

Cheers

Kristian

This site is not using the module and is not even a zen cart ;-)

Thanks,

Anne

16 Apr 2013, 12:06 AM
#119
johnnyscience avatar

johnnyscience

Zen Follower

Join Date:
Jan 2013
Posts:
104
Plugin Contributions:
0

Re: Pure CSS Mega Menu

JohnnyScience:

Well I was able to put them into a single column by just changing the width of the column.

But what/where do I add <!-- --> or /**/

I tried both in multiple areas/configurations & I couldn't get any of the code to ghost out.

I've highlighted the specific parts of the code I'd like to ghost out so they don't show up on the drop down menu.

<li class="information-li"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>" class="drop"><?php echo HEADER_TITLE_INFORMATION; ?></a><!-- bof information -->

    <div class="dropdown_info">
    
	<div class="col_1">
        	    <h3><?php echo TITLE_GENERAL; ?></h3>
                <ul>
		<li><a href="<?php echo zen_href_link(FILENAME_ABOUT_US); ?>"><?php echo BOX_INFORMATION_ABOUT_US; ?></a></li>
            	<?php if (DEFINE_SITE_MAP_STATUS <= 1) { ?>
            	<li><a href="<?php echo zen_href_link(FILENAME_SITE_MAP); ?>"><?php echo BOX_INFORMATION_SITE_MAP; ?></a></li>
            	<?php } ?>
          		<?php if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') { ?>
            	<li><a href="<?php echo zen_href_link(FILENAME_GV_FAQ, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_GV; ?></a></li>
            	<?php } ?>
            	<?php if (MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') { ?>
            	<li><a href="<?php echo zen_href_link(FILENAME_DISCOUNT_COUPON, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_DISCOUNT_COUPONS; ?></a></li>
            	<?php } ?>
           		<?php if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') { ?>
            	<li><a href="<?php echo zen_href_link(FILENAME_UNSUBSCRIBE, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_UNSUBSCRIBE; ?></a></li>
            	<?php } ?>
                 </ul>   
             </div>

	<div class="col_1">
                 <h3><?php echo TITLE_CUSTOMERS; ?></h3>
                 <ul>
		<?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 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 } ?>
                	<li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_CONTACT; ?></a></li>
                    <?php if (DEFINE_SHIPPINGINFO_STATUS <= 1) { ?>
            	<li><a href="<?php echo zen_href_link(FILENAME_SHIPPING); ?>"><?php echo BOX_INFORMATION_SHIPPING; ?></a></li>
                    <?php } ?>
                    <?php if (DEFINE_PRIVACY_STATUS <= 1)  { ?>
            	<li><a href="<?php echo zen_href_link(FILENAME_PRIVACY); ?>"><?php echo BOX_INFORMATION_PRIVACY; ?></a></li>
                    <?php } ?>
                    <?php if (DEFINE_CONDITIONS_STATUS <= 1) { ?>
            	<li><a href="<?php echo zen_href_link(FILENAME_CONDITIONS); ?>"><?php echo BOX_INFORMATION_CONDITIONS; ?></a></li>
                    <?php } ?>
                 </ul>   
             </div>

Anyone?  I'm still stuck on this & it's holding me up from editing other things like the footer etc.

Thanks.
16 Apr 2013, 1:31 AM
#120
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Pure CSS Mega Menu

JohnnyScience:

Well I was able to put them into a single column by just changing the width of the column.

But what/where do I add <!-- --> or /**/

I tried both in multiple areas/configurations & I couldn't get any of the code to ghost out.

I've highlighted the specific parts of the code I'd like to ghost out so they don't show up on the drop down menu.

<li class="information-li"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>" class="drop"><?php echo HEADER_TITLE_INFORMATION; ?></a><!-- bof information -->

    <div class="dropdown_info">
    
    <div class="col_1">
                <h3><?php echo TITLE_GENERAL; ?></h3>
                <ul>
        <li><a href="<?php echo zen_href_link(FILENAME_ABOUT_US); ?>"><?php echo BOX_INFORMATION_ABOUT_US; ?></a></li>
                <?php if (DEFINE_SITE_MAP_STATUS <= 1) { ?>
                <li><a href="<?php echo zen_href_link(FILENAME_SITE_MAP); ?>"><?php echo BOX_INFORMATION_SITE_MAP; ?></a></li>
                <?php } ?>
                  <?php if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') { ?>
                <li><a href="<?php echo zen_href_link(FILENAME_GV_FAQ, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_GV; ?></a></li>
                <?php } ?>
                <?php if (MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') { ?>
                <li><a href="<?php echo zen_href_link(FILENAME_DISCOUNT_COUPON, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_DISCOUNT_COUPONS; ?></a></li>
                <?php } ?>
                   <?php if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') { ?>
                <li><a href="<?php echo zen_href_link(FILENAME_UNSUBSCRIBE, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_UNSUBSCRIBE; ?></a></li>
                <?php } ?>
                 </ul>   
             </div>

    <div class="col_1">
                 <h3><?php echo TITLE_CUSTOMERS; ?></h3>
                 <ul>
        <?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 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 } ?>
                    <li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_CONTACT; ?></a></li>
                    <?php if (DEFINE_SHIPPINGINFO_STATUS <= 1) { ?>
                <li><a href="<?php echo zen_href_link(FILENAME_SHIPPING); ?>"><?php echo BOX_INFORMATION_SHIPPING; ?></a></li>
                    <?php } ?>
                    <?php if (DEFINE_PRIVACY_STATUS <= 1)  { ?>
                <li><a href="<?php echo zen_href_link(FILENAME_PRIVACY); ?>"><?php echo BOX_INFORMATION_PRIVACY; ?></a></li>
                    <?php } ?>
                    <?php if (DEFINE_CONDITIONS_STATUS <= 1) { ?>
                <li><a href="<?php echo zen_href_link(FILENAME_CONDITIONS); ?>"><?php echo BOX_INFORMATION_CONDITIONS; ?></a></li>
                    <?php } ?>
                 </ul>   
             </div>

I think the issue is you are using terminology that doesn't make it clear what you are trying to do.. I assume you mean by "ghost out" is that you want to REMOVE the general info column of the Info tab?? And there's no reason why you can't move on to make other changes/edits while you wait for an answer to your question..