Copy link to clipboard
Copied
On my website, when you hover over a tab it turns white and when you move away it goes black, and that's what I want. But On my LINK tab when you click on it then move the mouse away it stays white. how can I make it act like the others?
Copy link to clipboard
Copied
OnClick is not the same as Hover.
In CSS, the following link states (aka Anchor Pseudo-Classes) must be defined in order within your stylesheet.
a = any link
a:link = unvisited links
a:visited = visited links from the browser's cache
a:hover = on mouseOver
a:active = reached by a tab key or similar
a:focus = on Click or Tap.
The memory device (aka mnemonic) for Link, Visited, Hover, Active is LoVe HAte
Hope that helps.
Nancy
Copy link to clipboard
Copied
I'm sorry. I'm not 100% sure what you're saying.
Copy link to clipboard
Copied
jaspermaxx44 wrote
On my website, when you hover over a tab it turns white and when you move away it goes black, and that's what I want. But On my LINK tab when you click on it then move the mouse away it stays white. how can I make it act like the others?
Adding the below css selector to your css styles should work:
#myNavbar a {
color: #000000;!important
}
Copy link to clipboard
Copied
I added
#myNavbar a {
color: #000000;!important
}
And made no difference.
Copy link to clipboard
Copied
jaspermaxx44 wrote
I added
#myNavbar a {
color: #000000;!important
}
And made no difference.
It works how you describe you want it to work in your original post at the url below. Maybe you need to empty your browsers cache as you could be seeing an old version of the page in your browser.