appearance of parent-menu choice
appearance of parent-menu choice
Hi you all
The active menu-choice on my website is turned gray. That is intentional.
in my menu when visiting a submenu, the parent-menuchoice remains gray.
I presume that this is 'standard CSS', but I cannot find the proper code in frontend-CSS.
What line defines the appearance of a parent-menu choice?
The active menu-choice on my website is turned gray. That is intentional.
in my menu when visiting a submenu, the parent-menuchoice remains gray.
I presume that this is 'standard CSS', but I cannot find the proper code in frontend-CSS.
What line defines the appearance of a parent-menu choice?
Dick
doing business from the heart
doing business from the heart
Hi dick265,
which menu-system did you use?
Gruß Knut
which menu-system did you use?
Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
appearance of parent-menu choice
Hi Knut,
I've used NAV TABLE
the standard as far as I know . . .
Tnx
I've used NAV TABLE
the standard as far as I know . . .
Tnx
Dick
doing business from the heart
doing business from the heart
Hi dick265,
NAV_TABLE is a mix of adjustments by conf.template_default.inc.php and frontend.css.
Take a look at your conf.template_default.inc.php.
// navigation table defaults
$template_default["nav_table_struct"]........
You can create own classes for your NAV_TABLE.
Have a look two at:
* sublevel layout
* ===============
* setup unique style for each node/level
* ['array_struct'][1] => the number represents level ID
* so root level is [0] and so on...
$template_default["nav_table_struct"]['array_struct'][1]........
Duplicate all these lines for creating adjustments to every sublevel.
Gruß Knut
NAV_TABLE is a mix of adjustments by conf.template_default.inc.php and frontend.css.
Take a look at your conf.template_default.inc.php.
// navigation table defaults
$template_default["nav_table_struct"]........
You can create own classes for your NAV_TABLE.
Have a look two at:
* sublevel layout
* ===============
* setup unique style for each node/level
* ['array_struct'][1] => the number represents level ID
* so root level is [0] and so on...
$template_default["nav_table_struct"]['array_struct'][1]........
Duplicate all these lines for creating adjustments to every sublevel.
Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Hi
this is the code:
.nav_table, .nav_table a, .nav_table a:link, .nav_table a:active, .nav_table a:visited, .nav_table a:hover {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
color: #FFFFFF;
font-weight: normal;
text-decoration: none;
}
.nav_table a:hover {
text-decoration: underline;
}
.nav_table_active, .nav_table_active a, .nav_table_active a:link, .nav_table_active a:active, .nav_table_active a:visited, .nav_table_active a:hover {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
color: #4A5966;
font-weight: bold;
text-decoration: none;
}
this is the code:
.nav_table, .nav_table a, .nav_table a:link, .nav_table a:active, .nav_table a:visited, .nav_table a:hover {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
color: #FFFFFF;
font-weight: normal;
text-decoration: none;
}
.nav_table a:hover {
text-decoration: underline;
}
.nav_table_active, .nav_table_active a, .nav_table_active a:link, .nav_table_active a:active, .nav_table_active a:visited, .nav_table_active a:hover {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
color: #4A5966;
font-weight: bold;
text-decoration: none;
}
Dick
doing business from the heart
doing business from the heart
Hi Knut
I more or less understand what you mean.
But I think I'm asking something else:
If this is my menustructure
-Father
--Son1
--Son2
---Grandson2a
---Grandson2b
this is what happens
After clicking on -Father I' arrive at the level where I can choose a Son.
Father is turned Gray. This is good.
Then I choose Son2 and arrive at the 3th level where I can choose Grandson 2a or Grandson2b.
Son2 is now gray, this is good too.
But Father stays gray and that is wrong.
Now the question is: how is it called this visited father of the current level:
I tried
NAV_TABLE_ACTIVE A:VISITED but that is not it. So do you have any suggestions?
thanks in advance
Dick
I more or less understand what you mean.
But I think I'm asking something else:
If this is my menustructure
-Father
--Son1
--Son2
---Grandson2a
---Grandson2b
this is what happens
After clicking on -Father I' arrive at the level where I can choose a Son.
Father is turned Gray. This is good.
Then I choose Son2 and arrive at the 3th level where I can choose Grandson 2a or Grandson2b.
Son2 is now gray, this is good too.
But Father stays gray and that is wrong.
Now the question is: how is it called this visited father of the current level:
I tried
NAV_TABLE_ACTIVE A:VISITED but that is not it. So do you have any suggestions?
thanks in advance
Dick
Dick
doing business from the heart
doing business from the heart
Hi dick265,
there is a switch at conf.template_default.inc.php called:
$template_default["nav_table_struct"]["all_nodes_active"] = 1;
For your reason it is 0
Gruß Knut
there is a switch at conf.template_default.inc.php called:
$template_default["nav_table_struct"]["all_nodes_active"] = 1;
For your reason it is 0
Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )