https://github.com/jbroadway/typekit
Typekit app for the Elefant CMS
https://github.com/jbroadway/typekit
Last synced: about 2 months ago
JSON representation
Typekit app for the Elefant CMS
- Host: GitHub
- URL: https://github.com/jbroadway/typekit
- Owner: jbroadway
- Created: 2011-10-03T18:25:12.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-10-27T18:36:50.000Z (over 12 years ago)
- Last Synced: 2025-01-13T12:26:30.607Z (3 months ago)
- Language: PHP
- Homepage: http://www.elefantcms.com/
- Size: 89.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is an app for the [Elefant CMS](http://github.com/jbroadway/elefant)
that provides support for [Typekit](http://typekit.com/) custom font hosting
service.## Usage
Step 1. Add the following to the `` of your layout:
```html
{# typekit/XXXXXX #}
```This will hard-code the necessary Javascript into your layout. Be sure to
change the XXXXXX value to the ID provided by Typekit. You can find it on
their website once you've registered.Step 2. Add some fonts to your kit on [typekit.com](http://typekit.com/).
Step 3. Add the selectors for your chosen fonts to the elements you want to
style. For example:```css
h1 {
font-family: cody;
}
```You should now see your `
` elements styled using the
[Cody Web](http://typekit.com/fonts/cody-web) font from
[typekit.com](http://typekit.com/).