New Front EN › Support Forums › Ikebana Theme Support › Google Font Wieght Options
Tagged: font, font weight, options, typography, typography.php
- This topic has 4 replies, 2 voices, and was last updated 11 years, 1 month ago by
satori.
-
AuthorPosts
-
January 28, 2014 at 8:03 pm #2409
PlaneCreative
ParticipantThanks for the help on the Fancybox issue, I’ll be sure to update once 2.2 is uploaded. I have another question for you though.
Is there a way to adjust the font weight of the Google fonts? For example I’d like to use ‘Lato’ but not at 400 or “normal”. Is there any way to adjust the font weight for specific tags and classes at all?
January 29, 2014 at 8:34 am #2411satori
KeymasterHey PlaneCreative,
Ikebana 2.2 has just been made available on ThemeForest ;)
If you want to control font weight for specific classes, you’ll need to edit the theme’s stylesheet (the recommended way to achieve this is child themes) or add the extra CSS into the “Style: Add Custom CSS” tab of the theme options panel. If you need advice on specific elements, let me know, I will help out with formulating the statements.
Sincerely,
Andrii / Satori StudioJanuary 29, 2014 at 7:42 pm #2418PlaneCreative
ParticipantThanks for the advice, but I will that work? I don’t think your header functions are actually making the font weights from Google available. It looks like it builds the link from the input on the options page which would only be the font name. so the link would look like this:
http://fonts.googleapis.com/css?family=Open+Sans
Not like this:
-
This reply was modified 11 years, 1 month ago by
PlaneCreative.
January 29, 2014 at 9:16 pm #2420PlaneCreative
ParticipantI could use some advice on how to change the font weight for the boxes on the masonry homepage. Which class should I use to change the font for all the boxes?
Thanks for all your help, Jose
January 30, 2014 at 1:04 pm #2425satori
KeymasterHey Jose,
the Google Font insert code is contained in the “header-functions.php” file in Ikebana (right at the top), and it does include all possible font-weights; at this point it is worth noting that not all Google Fonts come in different weights, e.g. Lato only has two possible weights, 400 and 700, while Open Sans has five.
To change the font width of masonry elements, you can use e.g. this CSS:
.iso-masonry .post { font-width: 400; }Sincerely,
Andrii / Satori Studio -
This reply was modified 11 years, 1 month ago by
-
AuthorPosts
- You must be logged in to reply to this topic.