today i did the update from 1.2.6 to 1.2.8 and since then the "registercard navigation" (nav_list_top) does not look like before.
it just looks like an ordinary list. by the way - it's the same at the phpwcms docu-site.
can anybody please help me with a quick solution?
nav_list_top not working under 1.2.8 ??
Hi nacho,
O.G. has changed the called class. Please have a look into the generated source.
After this please compare your new frontend.css with the old one.
Then you will see the solution.
The old call using {NAV_LIST_TOP}:
The new on:
Thr old css:
The new css:
Regards Knut
O.G. has changed the called class. Please have a look into the generated source.
After this please compare your new frontend.css with the old one.
Then you will see the solution.
The old call using {NAV_LIST_TOP}:
Code: Select all
<div id="list_top">
<ul id="list_top_ul">
<li id="list_top_home_active">...............
<li id="list_top_active">..............
Code: Select all
<ul class="list_level">
<li class="parent">.........
<li class="active">..........
Code: Select all
/* CSS for the top level list */
#list_top_ul {
padding: 3px 0;
margin-left: 0;
border-bottom: 1px solid #5E747F;
font: bold 12px Verdana, sans-serif;
}
#list_top_ul li {
list-style: none;
margin: 0;
display: inline;
}
#list_top_ul li a {
padding: 3px 0.5em;
margin-left: 3px;
border: 1px solid #778;
border-bottom: none;
background: #D7DEE5;
text-decoration: none;
}
#list_top_ul li a:link { color: #5E747F; }
#list_top_ul li a:visited { color: #5E747F; }
#list_top_ul li a:hover {
color: Black;
background: #92A1AF;;
border-color: #227;
}
#list_top_ul li a#list_top_active_link, #list_top li a#list_top_home_active_link {
background: white;
border-bottom: 1px solid white;
}
Code: Select all
/* CSS for the top level list */
ul.list_top, ul.list_level {
padding: 3px 0;
margin-left: 0;
border-bottom: 1px solid #5E747F;
font: bold 12px Verdana, sans-serif;
}
ul.list_top li, ul.list_level li {
list-style: none;
margin: 0;
display: inline;
padding: 0;
}
ul.list_top li a, ul.list_level li a {
padding: 3px 0.5em;
margin: 0px;
border: 1px solid #778;
border-bottom: none;
background: #D7DEE5;
text-decoration: none;
}
ul.list_top li a:link, ul.list_level li a:link { color: #5E747F; }
ul.list_top li a:visited, ul.list_level li a:visited { color: #5E747F; }
ul.list_top li a:hover, ul.list_level li a:hover {
color: Black;
background: #92A1AF;;
border-color: #227;
}
ul.list_top li.active a, ul.list_level li.active a {
background: white;
border-bottom: 1px solid white;
}
Regards Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
thank you for the quick answer !
so this means i have to copy the missing styles from the old stylesheet into the new one. or i can rename the new styles to the old names.
but who will do this for the docu-site
cheers,
nacho
but who will do this for the docu-site
cheers,
nacho
Docu: We are waiting for the next stable release appears next time. Then we will change/enhance the docu.
Call: {NAV_LIST_TOP::list_top_ul}
Regards Knut
Call: {NAV_LIST_TOP::list_top_ul}
Code: Select all
/* CSS for the top level list since V1.2.8 */
.list_top_ul {
padding: 3px 0;
margin-left: 0;
border-bottom: 1px solid #5E747F;
font: bold 12px Verdana, sans-serif;
}
.list_top_ul li {
list-style: none;
margin: 0;
display: inline;
}
.list_top_ul li a {
padding: 3px 0.5em;
margin-left: 3px;
border: 1px solid #778;
border-bottom: none;
background: #D7DEE5;
text-decoration: none;
}
.list_top_ul li a:link { color: #5E747F; }
.list_top_ul li a:visited { color: #5E747F; }
.list_top_ul li a:hover {
color: Black;
background: #92A1AF;;
border-color: #227;
}
.list_top_ul li.parent a {
background: white;
border-bottom: 1px solid white;
}
.list_top_ul li.active a {
background: white;
border-bottom: 1px solid white;
}
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )