Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How can I add an current state to my top menu?

Posted on 2011-03-13
3
Medium Priority
?
352 Views
Last Modified: 2012-05-11
Hi there,
I am trying to make my top menu in this site here http://lisablue.com.au have a current/active state.  I am using cufon also for this, but I can't find the correct CSS tag to get it to work?

Can someone help please?  This is what i Have tried.

#mod-top a:active

{

text-decoration: underline;

color: #4048f0;

}

Cufon.replace('#mod-top a:active span', { color: '#fff', fontFamily: 'trajan', fontSize: '13px'});
0
Comment
Question by:Amanda Watson
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
Panagiotis S earned 2000 total points
ID: 35123301
try just #current{}
0
 
LVL 11

Author Comment

by:Amanda Watson
ID: 35123529
ooh I was making it harder than it needed to be!!
Thank you
0
 
LVL 11

Author Closing Comment

by:Amanda Watson
ID: 35123530
ta
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question