Skip to content

Instantly share code, notes, and snippets.

@GaryJones
Created February 2, 2012 04:46
Show Gist options
  • Select an option

  • Save GaryJones/1721558 to your computer and use it in GitHub Desktop.

Select an option

Save GaryJones/1721558 to your computer and use it in GitHub Desktop.
Minimum solution for setting all text colours within the Genesis child theme
body,
h2 a,
h2 a:visited,
#title a,
.menu a,
.widget-area h4 a,
#footer a {
color: #333;
}
a,
a:visited,
.menu li.right a:hover,
h2 a:hover,
#footer a:hover {
color: #0d72c7;
}
blockquote p {
color: #999;
}
@GaryJones
Copy link
Author

Untested, but I believe that this is approaching the minimum amount of code to set all of the text colors for the parent Genesis Framework / Sample child theme. Since the color property is inherited by child elements (unlike background or border-color, say), it is a good candidate for pulling it out and simplifying it down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment