Bricks 1.7.1 has introduced Adobe Typekit support and this extension should no longer been needed! I will keep the instructions available for reference but please note that this will no longer been maintained.
-
Upload typekit.php to your child theme.
-
Update your functions.php to include the file, example:
include get_stylesheet_directory() .'/typekit.php';
-
While editing in Bricks, go to Theme Settings and click on the Typography section. You should see an input for Typekit Project ID
-
Paste your Typekit Project ID (found in your Typekit account)
-
Click the Sync Typekit Now button
-
Your Typekit fonts will be displayed in the Font family dropdown under Standard fonts.
- Typekit updates are not automatically synced. If you update your Typekit project, you will need to click the Sync Typekit Now button to get the latest updates
- Due to current limitation to how data is saved by Bricks, each Typekit project will create a new row in the options table. Soon this will be integrated into the 'bricks_theme_styles option
- Saved fonts in your Wordpress database will not delete when you delete the theme. This will be added soon.
- If you switch Theme Styles, you will need to refresh your browser to see the correct Typekit fonts.