How to override text color in child theme tables
-
I created a child theme of twentytwelve. The color of the text in tables appears to be lighter than the body text. This makes it difficult to read, so I want to darken it up.
In order to see what CSS rule was controlling the text color, I used the chrome browsers inspect element feature. When I select the text element and look at the “Matched CSS rules”, I see a lot of crossed-out rules.
Am I correct in assuming these crossed-out rules have been over-ridden and the one that is not crossed out is the prevailing rule?
If so, it appears that the prevailing rule in this case is called .entry-content {color:#656565;}. I am guessing that entry-content means table entry text, but that might be just wishful thinking.
Well I added .entry-content {color:#000000;} to see if I could darken it up a little, but it had no effect. And there didn’t seem to be any evidence in the “Matched CSS Rules” that any of my child theme CSS rules are in effect, however the rendering is correct for the other rules, so it must be working.
Bottom-line: How can I darken up the text in the table?
You can view my site at lightningmandarin.com/level1/lesson-1
Thanks!
- The topic ‘How to override text color in child theme tables’ is closed to new replies.