Bang The Drums Quickly
Member
Posted 2 years ago #
So I'm trying to add an advertisement on my side bar, and I don't want the text to change colors when you hover over it. How can I accomplish this?
I tried adding a <div class="nohover"> in front of the more blah blah blah</div> but it is still changing colors.
Am I doing something wrong??
Any input would be awesome!
Thanks
-Dom
http://bangthedrumsquickly.com
What kind of advertising are you using. Many ads (for example adsense) will have styling of there own, the only way to change it is inside the adsense account.
But if it are just text links, your class should work. I saw on your site that there's no nohover class styled.
The css would be:
.nohover a:hover {
color:#fff; /*same color as none hover state*/
}
Greetz,
Durgé
Dimics.com
Bang The Drums Quickly
Member
Posted 2 years ago #
Awesome!
Worked like a charm.
Thanks a bunch man!
-Dom