Zen Cart Logo
Forums / All Other Contributions/Addons / CSS Dropdown menu for the header- With Categories!

CSS Dropdown menu for the header- With Categories!

Views: 615,557

Results 1,781 to 1,800 of 2,344
29 Mar 2010, 8:50 PM
#1781
first_trading avatar

first_trading

Zen Follower

Join Date:
Aug 2008
Posts:
244
Plugin Contributions:
0

CSS Dropdown menu for the header- With Categories!

sw09 Re: CSS Dropdown menu for your header- With Categories!


Hi, I am a newbie to zen cart. I have installed the css flyout menu and it all works well but when I adjust the website template width to auto, the menu width got auto adjusted but the sub menu is not. How can I adjust that? My website http://www.bruneipartyshop.com

In the stylesheet_header_menu.css find the following code:

div#dropMenu ul ul li {border-bottom: 1px solid #CCC; width: 100%;z-index:10000;}

div#dropMenu ul.level7 li.submenu:hover ul.level8 {position: absolute; width: 100%;display:block;z-index:10000;}
div#dropMenu ul.level2 {background:#4f4f4f;z-index:10000;position:absolute;left:0;width: 100%;}

They are all in the bottom block of code. Adjust your width's (i've highlighted them in red above) to 100%.

29 Mar 2010, 9:13 PM
#1782
first_trading avatar

first_trading

Zen Follower

Join Date:
Aug 2008
Posts:
244
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

cjsmiff Re: CSS Dropdown menu for your header- With Categories!


Hi,

I seem to be having spacing issues which is forcing my menu onto 2 lines.

Does anyone know how I need to edit the css file to fix this issue? I have tried many variations of the css code already but nothing seems to work.

Since I can't have it on a live website at the moment here is a screenshot of what I mean:

It looks to me as though you have a padding/margin issue.

I would need to see the relevant css file.

29 Mar 2010, 9:18 PM
#1783
first_trading avatar

first_trading

Zen Follower

Join Date:
Aug 2008
Posts:
244
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

I am having a problem where EZPage titles will not appear on the CSS Drop Down menu. I am using the Spanish language pack with the most current version of ZenCart and this CSS Dropdown menu. The above code appears that it may correct the problem, but does not list how or where to implement it. Also, strangely, the default EZPage links (I've left the external link to ZenCart on the menu) work OK, but any pages added do not show up on the Header Menu. They show up and translate just fine on the sidebox and footer menus. I have searched for hours to no avail. Any suggestions? The site I am referring to is: http://www.altaonemedical.com/index.php Thanks

Make sure that when you make the eze pages in admin that you set them to display in the header which will then include them in the menu, also don't forget to give them a sort order or they won't show.

30 Mar 2010, 3:29 PM
#1784
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Is it possible to use the CSS Dropdown menu for your header- With Categories! with header_dropdown_menu_css_1-0. I lilke the look of the header_dropdown_menu_css_1-0 however I want the categories to appear in this area not in the top header. If you need to set what I am refering to please see the attachment:

Thank you
Ladydee

30 Mar 2010, 9:48 PM
#1785
first_trading avatar

first_trading

Zen Follower

Join Date:
Aug 2008
Posts:
244
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Not 100% sure what you mean...? if you use the drop down menu the categories are in the horixontal menu in a drop down format. You can have a completely seperate header.............is this what you mean.

30 Mar 2010, 10:07 PM
#1786
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Will it still have the blue bar, because that makes the page look better?

Thank you
LadyDee

30 Mar 2010, 10:16 PM
#1787
first_trading avatar

first_trading

Zen Follower

Join Date:
Aug 2008
Posts:
244
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Post a link to your site, but i'm going to say yes looking at that picture, but even if it dissapears we can get it back.

Post a link.

30 Mar 2010, 10:34 PM
#1788
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Thank you, here is a link to my site:
http://lightingmadesimple.com/

LadyDee

30 Mar 2010, 11:05 PM
#1789
first_trading avatar

first_trading

Zen Follower

Join Date:
Aug 2008
Posts:
244
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Ok, yes it will but not after the install. Firstly backup your files..............oh and don't forget to backup your files.

Second install the mod, (I would uninstall the drop down you already have first).

Next, you will simply have to replace the colour in the new .css file for your blue tileback and its that simple.

The blue will now be on your new menu.

30 Mar 2010, 11:23 PM
#1790
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Thank you, you are great. I will try this now.

LadyDee

30 Mar 2010, 11:29 PM
#1791
first_trading avatar

first_trading

Zen Follower

Join Date:
Aug 2008
Posts:
244
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

No problem, enough people have helped me along the way so its nice to give back.

I'll keep an eye on your site.

Don't forget to back the files up before hand.

30 Mar 2010, 11:32 PM
#1792
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Again thank you, good attittude. Maybe one day when I get good at this I can help someone.

LadyDee

31 Mar 2010, 1:33 AM
#1793
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Another question, how do I change the color to be my title_back?

LadyDee

31 Mar 2010, 1:38 AM
#1794
first_trading avatar

first_trading

Zen Follower

Join Date:
Aug 2008
Posts:
244
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

One of the files you copy accross is called stylesheet_header_menu.css

Find the following block of code and replace the image (tile_back.gif) with whatever image you want. In your case it will be whatever you have called the blue image on your site.

div#dropMenu ul.level1 {
width:100%;
margin:0 auto;
text-align:center;
background-image: url(../images/tile_back.gif);
background-repeat: repeat-x;
padding: 0px;
z-index:10000;
float:left;
}

31 Mar 2010, 1:48 AM
#1795
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Perfect, that where I thought it should go, just forgot how to point to the image. I tried it on my home server first now I will upload everything to my server.

It looks like it removes alot from the main page.

LadyDee

31 Mar 2010, 3:24 AM
#1796
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

When I completed everything, only the very top bar, logo banner and the dop-down are left on the main page. Can not scroll down, middle boxes are gone, etc.

LadyDee

31 Mar 2010, 11:51 AM
#1797
first_trading avatar

first_trading

Zen Follower

Join Date:
Aug 2008
Posts:
244
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Hi, that looks great. Did you want those centre boxes back...? i think it looks good as is but if you want them back we can get them back.

It changes the header and all you would have to do is open up both files and merge them. Sometimes its not quite that simple but its very do-able.

Would you like the drop down menu's to have the same width as the menu title...? If so see post 1781.

31 Mar 2010, 1:38 PM
#1798
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Basically, I back the way it was. The center boxes came from a template addon here called: editable_home_page_centerboxes_1-0.

What I want is for the main page to stay like it currently is except I would like to turn the breadcrumbs off and input them into the bar that says links1 link2 etc.

LadyDee

31 Mar 2010, 1:51 PM
#1799
first_trading avatar

first_trading

Zen Follower

Join Date:
Aug 2008
Posts:
244
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Sorry, yes i was looking at the wrong site, LOL.

You can put whatever links you like in the drop down menu.

I would have to see the files of the other mod to make sure they stay on the page after you install the drop down menu.

31 Mar 2010, 1:56 PM
#1800
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

It is located under Template Alterations.

LadyDee