Changing link colour
-
I’m using the theme hueman, and have created a child theme to control some style elements, one of which is link colour in the body of my posts. I’m using the following code:
<style>
<!–
.entry a:link {color: #1400ED; background-color: transparent; text-decoration: underline; }
.entry a:visited {color: #C4B7F7; text-decoration: none; }
.entry a:hover {color: #FA0000; text-decoration: underline; }
.site-title a { display: block; color: #1400ED; max-width: 100%; }
–>
</style>The visited and hover elements work fine, but the basic unviewed link element won’t change, no matter what I do.
Am I correct in thinking that this child theme should override all of the parent theme’s css for post links with when done this way? Or am I missing something in my parent theme css that could be interfering?
Someone else suggested weighting my css with !important, but that didn’t work.
The topic ‘Changing link colour’ is closed to new replies.
