If you look at the source code of your page you can see that the active link has class="currentpage". What you need to add in your CSS then is a background-color for this class, that will be the background color for the active link. '
Also, you have set the border for #menue1, which has padding-left: 10px. That's why the link is not reaching all the way to the border on the left side, because that dotted line shows around the link when you click on it and the link tag is embedded in the . The hierarchy now is #menue1 .bulletmenu ul li a.
I would suggest you dig a bit deeper into CSS (there are lots of great tutorials on CSS) and look at your source code to understand what part of the code that is affected by which CSS element.
I looked at your CSS and for the menu, these are the relevant CSS you use now:
Code: Select all
.bulletmenu ul {
margin: 0;
padding: 0;
list-style-type: none;
}
.bulletmenu li {
}
.bulletmenu a, .bulletmenu a:link, .bulletmenu a:visited
{
display: block;
padding: 0px 0px;
text-decoration: none;
}
#menue1 {
position:absolute;
left:20px;
top:160px;
width:150px;
color:inherit;
background-color:#fff;
padding-left:10px;
border:1px solid #babdba;
font-size:90%;
font-weight:bold;
}
I would suggest the following changes:
Move
border:1px solid #babdba; and
padding-left:10px; from #menue1 (and #menue2) to
.bulletmenu a, .bulletmenu a:link, .bulletmenu a:visited
The full code for the menu would then look like this:
Code: Select all
#menue1 {
position:absolute;
left:20px;
top:160px;
width:150px;
color:inherit;
background-color:#fff;
font-size:90%;
font-weight:bold;
}
.bulletmenu ul {
margin: 0;
padding: 0;
list-style-type: none;
}
.bulletmenu li {
}
.bulletmenu a, .bulletmenu a:link, .bulletmenu a:visited
{
display: block;
padding:5px 10px; //5px of padding top and bottom, 10px of padding left and right
text-decoration: none;
padding-left:10px;
border:1px solid #babdba;
background-color: #000000; //you can select a background color for each menu item here if you want, otherwise remove this
}
.bulletmenu a:hover
{
font-weight: bold; // choose any style for when you hover over a menu item here
}
.currentpage {
font-weight: bold;
background-color:#b7b7ef; // choose any style for the active link here
}
// You MAY have to replace .currentpage with the following, which is more specific about the hierarchy.
.bulletmenu li a.currentpage, .bulletmenu li a:link.currentpage, .bulletmenu li a:visited.currentpage {
font-weight: bold;
background-color:#b7b7ef;
}
Hope that works. Unfortunately, I won't have much time to look more carefully at your page in the coming days. But if more questions arise, feel free to ask. However, I would suggest that you first search the answers by reading a tutorial about CSS.
And by the way, your site now looks very similar to the site that you wanted to take ideas from. If you don't know the people at kreatives-chaos.com it's probably a good idea to make some more changes to have your site feel more unique.
Have a nice weekend!
/Daniel "westis"