Zen Cart Logo
Forums / Addon Sideboxes / Support for CSS Flyout Menu

Support for CSS Flyout Menu

Views: 180,521

Results 661 to 680 of 755
6 Sep 2011, 4:42 PM
#661
lolwaut avatar

lolwaut

Zen Follower

Join Date:
Dec 2010
Posts:
142
Plugin Contributions:
0

Support for CSS Flyout Menu

Can someone tell me how to change the font color of the submenu items? I figured out how to change the font color of the top-level menu items, and figured out how to change the hover color of the submenu items... but I cant figure out how to change the regular non-hover link color for submenu items. Im using the latest version. Any help is appreciated. Thanks!

6 Sep 2011, 8:07 PM
#662
lolwaut avatar

lolwaut

Zen Follower

Join Date:
Dec 2010
Posts:
142
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

lolwaut:

Can someone tell me how to change the font color of the submenu items? I figured out how to change the font color of the top-level menu items, and figured out how to change the hover color of the submenu items... but I cant figure out how to change the regular non-hover link color for submenu items. Im using the latest version. Any help is appreciated. Thanks!

nevermind... got it figured out. id post how I did it if I could remember! Thanks all!

6 Sep 2011, 8:28 PM
#663
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

try changing the color tag to the color you want in:
div#dropMenu ul.level2 li
div#dropMenu li a
div#dropMenu ul.level2 a

good luck

6 Sep 2011, 11:38 PM
#664
lolwaut avatar

lolwaut

Zen Follower

Join Date:
Dec 2010
Posts:
142
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

Hello Folks,

I have a new issue now. I have edited the CSS of my menu to my liking, with one exception. I have made my submenu links white on a gray background, while my top-level links are black on a white background. For some reason, any top-level item that has subcategories takes on the regular link color and hover link color OF THE submenus (which is white). This makes my top-level text white on a white background. I DONT want top-level menu items with subcategories to take on the color attributes of my submenu items. I am pulling my hair out here. Using version 1.3.9b.

Here is a link to my site: http://tinyurl.com/3uttrvu
You can see what I'm talking about on the first menu item.... make sure to hover over it.

Here is my customized stylesheet_categories_menu.css... I've made the font red on the submenu items, so you dont have to search too hard.

/*Version 1.3.9b*/
/*Cornflowerblue Menu CSS*/
#categoriescss.leftBoxContainer { 
   background: #fff; 
   border: 1px solid #E6E6E6; 
   width: 150px; 
   padding-bottom: 0px;
   -moz-border-radius: 4px;
   border-radius: 4px;
}

#categoriescssHeading.leftBoxHeading {

   margin-bottom: 0px;
}

#nav-cat {
   width: 150px; 
   margin: 0 0 0 0px;
   background-color: #fff; 
   font-weight:bold;
}

#nav-cat ul {
   margin: 0; 
   padding: 0; 
   width: 150px; 
   background-color: #fff;
}

#nav-cat ul.level2 {background-color: #777777;}
#nav-cat ul.level3 {background-color: #6495ed;}
#nav-cat ul.level4 {background-color: #6495ed;}
#nav-cat ul.level5 {background-color: #6495ed;}
#nav-cat ul.level6 {background-color: #6495ed;}

#nav-cat li {
   position: relative; 
   list-style: none; 
   margin: 0;
   margin-top: 0px; /* change this to put space between buttons*/
   border-bottom: 1px solid #d########3;
}

#nav-cat li li {
   margin: 0; /* overrides the margin-top above */
}
 
#nav-cat li:hover {
   z-index: 1000;
   background-color: #777777;
}

#nav-cat li a:hover {
   color: #fff;
}




#nav-cat li.submenu {
   background: url(../images/arrows/arrow11.png) 99% 50% no-repeat;
   background-color: #fff;
}

#nav-cat li.submenu:hover {
   background: url(../images/arrows/arrow5.png) 99% 50% no-repeat;
}

[B]#nav-cat li.submenu a:hover {
   color: #87ceeb;
}[/B]

[B]#nav-cat li.submenu a {
   color: #fff;
}[/B]


#nav-cat li a {
   display: block; 
   padding: 0.25em 0 0.25em 0.5em;
   text-decoration: none; 
   width: 100%; color: #000;
}

#nav-cat>ul a {
   width: auto;
}

#nav-cat ul ul {
   position: absolute; 
   top: 0; 
   left: 150px;
   display: none;
}

#nav-cat ul.level1 li.submenu:hover ul.level2,
#nav-cat ul.level2 li.submenu:hover ul.level3,
#nav-cat ul.level3 li.submenu:hover ul.level4,
#nav-cat ul.level4 li.submenu:hover ul.level5,
#nav-cat ul.level5 li.submenu:hover ul.level6 {
   display:block; 
   border-left: 2px solid #d########3;
}

Any help is very much appreciated!

7 Sep 2011, 12:08 AM
#665
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Support for CSS Flyout Menu

The top level list item is named .submenu, so all links in that, including the top link, are affected. Change the rules to```
#nav-cat li.submenu ul a {
color: #fff;
}

#nav-cat li.submenu ul a:hover {
color: #87ceeb;
}


Also change the order of the rules so the hover state if active will override the base state.
7 Sep 2011, 1:05 AM
#666
lolwaut avatar

lolwaut

Zen Follower

Join Date:
Dec 2010
Posts:
142
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

gjh42:

The top level list item is named .submenu, so all links in that, including the top link, are affected. Change the rules to```
#nav-cat li.submenu ul a {
color: #fff;
}

#nav-cat li.submenu ul a:hover {
color: #87ceeb;
}

> 
> Also change the order of the rules so the hover state if active will override the base state.

Thanks so much! That did it! Very grateful!
18 Sep 2011, 7:25 PM
#667
giftcastle5 avatar

giftcastle5

New Zenner

Join Date:
Apr 2011
Posts:
9
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

Hello I'm trying to use this mod but i don't want all the themeing it has done i would just like to use my original theme and have the categories fly out how would i go about doing that?

19 Sep 2011, 3:08 AM
#668
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Support for CSS Flyout Menu

This mod will have different structure and element classes and ids than whatever you have, so you will have to transfer the styling from your current elements to the new ones. You will have to let us see your site live to get specific advice on how to adapt your style rules.

19 Sep 2011, 3:45 PM
#669
giftcastle5 avatar

giftcastle5

New Zenner

Join Date:
Apr 2011
Posts:
9
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

Sure my site is http://perfectcarcorp.net/. I have the categories set up in a way on the left but I would like to use the second categories box on the left as my default since its perfectly themed. Can you help me with that?

20 Sep 2011, 7:20 PM
#670
giftcastle5 avatar

giftcastle5

New Zenner

Join Date:
Apr 2011
Posts:
9
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

Anybody?

20 Sep 2011, 10:23 PM
#671
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Support for CSS Flyout Menu

The only real differences between the BetterCategories sidebox and the flyout one is the dividers between items and the bullets (and the font being a wee bit smaller). Do you want those things on the flyout menu? I think the flyout's current state of arrows is better for its functionality that the BC arrows would be.

21 Sep 2011, 2:37 PM
#672
giftcastle5 avatar

giftcastle5

New Zenner

Join Date:
Apr 2011
Posts:
9
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

Thats fine then could you help me with one last thing? The categories display weird on IE maybe somethings wrong in my code? Could you give it a look?

/*Version 1.3.9b*/
/*Cornflowerblue Menu CSS*/
#categoriescss.leftBoxContainer { 
   background: #fff;
   border: 1px solid #E6E6E6; 
   width: 150px; 
   padding-bottom: 0px;
   -moz-border-radius: 4px;
   border-radius: 4px;
}

#categoriescssHeading.leftBoxHeading {

   margin-bottom: 0px;
}

#nav-cat {
   width: 150px; 
   margin: 0 0 0px;
   background-color: #fff; 
   font-size: 12px;
}

#nav-cat ul {
   margin: 0; 
   padding: 0; 
   width: 150px; 
   background-color: #fff;
}

#nav-cat ul.level2 {background-color: #67cadf;}
#nav-cat ul.level3 {background-color: #67cadf;}
#nav-cat ul.level4 {background-color: #67cadf;}
#nav-cat ul.level5 {background-color: #67cadf;}
#nav-cat ul.level6 {background-color: #67cadf;}

#nav-cat li {
   position: relative; 
   list-style: none; 
   margin: 0;
   margin-top: 0px; /* change this to put space between buttons*/
   border-bottom: 1px solid #d########3;
}

#nav-cat li li {
   margin: 0; /* overrides the margin-top above */
}
 
#nav-cat li:hover {
   z-index: 1000;
   background-color: #67cadf;
}

#nav-cat li a:hover {
   color: #000000;
}




#nav-cat li.submenu {
   background: url(../images/arrows/arrow11.png) 99% 50% no-repeat;
}

#nav-cat li.submenu:hover {
   background: url(../images/arrows/arrow5.png) 99% 50% no-repeat;
}

#nav-cat li.submenu ul a {
   color: #000000;
}

#nav-cat li.submenu ul a:hover {
   color: #fff;
}

#nav-cat li a {
   display: block; 
   padding: 0.25em 0 0.25em 0.5em;
   text-decoration: none; 
   width: 100%; color: #000;
}

#nav-cat>ul a {
   width: auto;
}

#nav-cat ul ul {
   position: absolute; 
   top: 0; 
   left: 150px;
   display: none;
}

#nav-cat ul.level1 li.submenu:hover ul.level2,
#nav-cat ul.level2 li.submenu:hover ul.level3,
#nav-cat ul.level3 li.submenu:hover ul.level4,
#nav-cat ul.level4 li.submenu:hover ul.level5,
#nav-cat ul.level5 li.submenu:hover ul.level6 {
   display:block; 
   border-left: 2px solid #d########3;
22 Sep 2011, 11:42 AM
#673
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Support for CSS Flyout Menu

I don't know if it is causing problems, but there is an error here:```
#nav-cat li {
position: relative;
list-style: none;
margin: 0;
margin-top: 0px; /* change this to put space between buttons*/
border-bottom: 1px solid #d########3;
}

22 Sep 2011, 12:00 PM
#674
giftcastle5 avatar

giftcastle5

New Zenner

Join Date:
Apr 2011
Posts:
9
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

That did the trick thank you very much for your help!

2 Dec 2011, 12:19 AM
#675
mermandamus avatar

mermandamus

New Zenner

Join Date:
Sep 2011
Posts:
9
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

Is it possible to have the final layer of a menu expanded into columns instead of having just one column in a scroll box?

For instance instead of having one scrolling column of 15 categories it can be split into 3 columns of 5 and also only show the scroll box when a preset limit of rows is exceeded?

Here is a site with what I have in mind http://www.rjettek.com/

8 Dec 2011, 6:31 PM
#676
windsurfer avatar

windsurfer

Zen Follower

Join Date:
Jun 2011
Posts:
185
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

I just installed zencart V1.5 and using the andover_modern template. I downloaded and installed the CSS flyout following the instructions and renamed the 1 Custom folder in the templates folder to andover_modern. when going to the admin/tools/layout box controller i do not see the warning about the new CSS file i did go and selected the template again, then went back into layout box controller and hit reset and got a message at the top saying "Successfully Reset all box settings to the Default settings for Template: andover_modern" when i go to my home page the flyout does not appear and i have tried to change some settings in the layout box controller but the flyout will not show up. Is it possible the flyout is not compatible with version 1.5 or am i missing something?

Thanks in advance :unsure:

8 Dec 2011, 9:06 PM
#677
windsurfer avatar

windsurfer

Zen Follower

Join Date:
Jun 2011
Posts:
185
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

Interesting, I just tried to install the "CSS Horizontal Dropdown Menu With jquery" and that does work"

9 Dec 2011, 1:13 AM
#678
windsurfer avatar

windsurfer

Zen Follower

Join Date:
Jun 2011
Posts:
185
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

Well i just reinstalled a fresh copy of Zencart and the only thing i am trying is the Vertical flyout but it won't show, I did read a post that went like this "In TOOLS > LAYOUT BOXES CONTROLLER, is "sideboxes/pure_orange/categories_css.php" set to "ON"?
I use the classic template but no i don't have any line in the layout box controller that says that. Am i missing something here ?

9 Dec 2011, 6:25 PM
#679
windsurfer avatar

windsurfer

Zen Follower

Join Date:
Jun 2011
Posts:
185
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

They usually say no news is good news but in this case it isn't :no:
Nobody in Zen land heve any idea what i am missing or doing wrong here ? Has anybody used the flyout with V1.5 at all ?

9 Dec 2011, 6:56 PM
#680
windsurfer avatar

windsurfer

Zen Follower

Join Date:
Jun 2011
Posts:
185
Plugin Contributions:
0

Re: Support for CSS Flyout Menu

I'll give myself the good news, got it going after a modification