![]() ![]() In the code above, Dosis is the name of the Google Font being added. In the following example, I’ll illustrate how you can add Google Fonts to any Thesis site with a simple custom filter method:Īdd_filter('thesis_google_fonts', 'add_google_fonts') If you’d like to add other Google Fonts to Thesis, you can do so via the thesis_google_fonts array filter, which accepts items in a special format. How to Add Google Fonts to Thesisīy default, Thesis includes all Google Fonts that come in 400, 400 italic, and 700 weights (see the full list below). ![]() Obviously: All official Thesis Skins from DIYthemes come equipped with Google Fonts functionality. Google Fonts can be added to any Skin by way of the $functionality property and the fonts_google parameter:Īfter activating Google Fonts in your Skin, Google Fonts will appear with a (G) next to them in font dropdowns in the Design Options.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |