Hi,
at first, sorry for my bad English.
I already posted my problem in the german Forum, but right now there’s too little activity so I try it here.
How should I name the Template Variables to integrate my One-Level CSS-Navigation into my MODx Template?
Several different approaches didn’t quite work.
CSS:
.menu {
position: absolute;
min-height: 330px;
height: auto !important;
height: 330px;
width: 120px;
left:0;
padding-top: 50px;
background-image: url(menu.jpg);
background-repeat: no-repeat;
}
.menu a{
color:#e3e0d0;
font: 10px Arial, sans-serif;
font-weight: bold;
margin-top: 2px;
margin-left: 5px;
padding-top: 2px;
Padding-bottom: 2px;
text-decoration:none;
background-color:transparent;
display:block;
border-top:1px solid #99917d;
border-right:1px solid #e4d9c0;
border-bottom:1px solid #e4d9c0;
border-left:1px solid #99917d;
width:85px;
}
.menu a:hover{
color: #330000;
background: #CBCBCB;
font: 12px Arial, sans-serif;
border-top:1px solid #e4d9c0;
border-right:1px solid #837c6b;
border-bottom:1px solid #837c6b;
border-left:1px solid #e4d9c0;}
.menu a .dot{
color:#e3e0d0;
background-color:transparent;
font-weight:bold;
font-size:14px;}
.menu a:hover .dot{
color:#330000;
background-color:transparent;
font-weight:bold;
font-size:14px;}
.liste{
position: relative;
list-style-type: none;
margin: 0 2px 0 0;
padding: 5px !important;
}
.liste a{
text-align: left;
padding-left: 4px;
margin-left:2px;
}
My Original HTML-Structure:
<div class="menu">
<ul class="liste">
<li>
<a href="#"><span class="dot">• </span>Neues</a>
</li>
<li>
<a href="#"><span class="dot">• </span>Band</a>
</li>
<li>
<a href="#"><span class="dot">• </span>Bio</a>
</li>
<li>
<a href="#"><span class="dot">• </span>Media</a>
</li>
<li>
<a href="#"><span class="dot">• </span>Kontakt</a>
</li>
<li>
<a href="#"><span class="dot">• </span>Links</a>
</li>
<li>
<a href="#"><span class="dot">• </span>Archiv</a>
</li>
<li>
<a href="#"><span class="dot">• </span>Impressum</a>
</li>
<li>
</ul>
</div>
Hoping for help, Micha