bullet menu CSS help

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
KevinK

bullet menu CSS help

Post by KevinK »

I am using the vertical bullet menu on my first CMS site and I am having a bit of a problem which probably one of you experts can glance at and figure out...

I want to differentiate the current page from the other pages in the vertical navigation by either changing the color of the link or the decoration (bold) or putting a border around the current page link. Problem is, I can only seem to get the background color of the current link to change. I am changing in CSS for the ".currentpage" and I know I am in the correct place because I can change the background color but I cannot get the color of the link to change or the borders to show...

I am going to do something else for a while and come back and look at it - - but in the meantime if anyone is bored and would not mind looking the site is at ostig.com... I can post the CSS but I assume everyone else can look at it by viewing source and pasting the CSS link in the browser???

Please be kind, I am trying to learn CSS and CMS all at one go...  ;D

KevinK
westis

Re: bullet menu CSS help

Post by westis »

Hi KevinK,

We're a kind bunch of people, so don't worry! ;D

What you need to do is to change the link color of the current page, that is the link that has the class currentpage. You do this by adding this to your nav-vertical stylesheet:

#menu_vert li a.currentpage {
  color: #ffffff;
}



Of course replace the color with whatever color you wish, the above example is white, so probably not what you need. :D

I also noticed border+1px solid #000; in

.menuactive, .currentpage {
background-color:#eef;
        border+1px solid #000;
        }


The + sign can't be there, replace that with :

Hope that helps!
KevinK

Re: bullet menu CSS help

Post by KevinK »

It did help, thank you. Was making me nuts after looking at it all morning...
jomoweb
Forum Members
Forum Members
Posts: 49
Joined: Wed Jan 31, 2007 9:27 pm

Re: bullet menu CSS help

Post by jomoweb »

For the record, I was having a hard tine with this too, until I tried this command:

#menu_vertical li.currentpage a {style: here;}

Keywords: currentpage , .currentpage, Current Page Link Style
Locked

Return to “Layout and Design (CSS & HTML)”