Skip to content

Instantly share code, notes, and snippets.

@cdils
Created January 13, 2015 02:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdils/c1eccd36b81b518f6618 to your computer and use it in GitHub Desktop.
Save cdils/c1eccd36b81b518f6618 to your computer and use it in GitHub Desktop.
Example of overriding Style Customizer fonts with a Typekit font. (For additional context see http://www.carriedils.com/typekit-rainmaker/)
/*
Note the .site-container class - this adds extra specification to areas
where the Style Customizer is applying styles. You can directly target
other styles that come directly from the theme (hint: you can identify them
because they don't include the .gppro-custom class)
------*/
body.gppro-custom .site-container,
body.gppro-custom .site-container .genesis-grid .entry-meta,
body.gppro-custom .site-container .entry-header .entry-meta,
body.gppro-custom .site-container .site-footer p,
body .search-form > input,
body .search-form > textarea,
body .ninja-forms-form-wrap input,
body .ninja-forms-form-wrap textarea,
input.input,
input.input-text,
#comment {
font-family: 'Proxima Nova', sans-serif;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment