CSS for hover color
-
[Moderator note: moved to Fixing WordPress sub-forum]
After inspecting the code for one of my elements, it says the element I’m looking to edit is h4. I have a CSS code on all heading types, but can’t figure out how to change just one of them for the purpose of hover colors.
Here’s the code I have for all headers with a tag:
#ctaheader h1:hover, #ctaheader h2:hover, #ctaheader h3:hover, #ctaheader h4:hover #ctaheader h5:hover, #ctaheader h6:hover {
color: #dd3333 !important;
}And I guess, essentially what I’m trying to do is something like:
#ctasubhead h4:hover {
color: #ffffff
}Oh, and did I mention it’s going to have to change per page? ??
Please help!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘CSS for hover color’ is closed to new replies.