PDA

View Full Version : css link styling


walkamongus
07-21-2009, 08:57 PM
hi everybody, im trying to figure out how to have a menu bar where the link that is clicked will stay a certain color while the visitor is on that page, then will change back to its original color when the visitor chooses another menu option... is there a way to do this with css? thanks in advance! also, im using a home made template.

walkamongus
07-21-2009, 09:46 PM
what i have come up with is to make the nav bar an editable region, then de-link the menu option and change the text color on each page... seems kind of sloppy though.

DWcourse
07-21-2009, 10:47 PM
what i have come up with is to make the nav bar an editable region, then de-link the menu option and change the text color on each page... seems kind of sloppy though.
Especially if you want to edit the menu later. I don't have a better idea though. Is it a large menu or a small one?

Cary
07-22-2009, 02:17 AM
If I'm understanding what you want to do, this article (http://www.456bereastreet.com/archive/200503/setting_the_current_menu_state_with_css/) shows how to do it, and this one (http://www.communitymx.com/content/article.cfm?cid=F1394) applies the idea to pages based on DW templates.

walkamongus
07-23-2009, 05:31 AM
you got it cary, thank you very much