-
AuthorPosts
-
March 10, 2016 at 1:25 pm #832457
In Customizer >> Typography . . . I have selected Roboto font for headings and body font. This font has the following font weights available: 100, 300, 400, 500, 700, 900. However, when I specify a change to a font style for a specific element in Cornerstone, weights 400, 500 and 700 have no effect. How do I get all the font weights to be available?
Thanks in advance,
Craig
March 10, 2016 at 7:41 pm #832890Hi there,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
March 10, 2016 at 8:09 pm #832918Site is: https://MarketersFormula.com
March 10, 2016 at 11:17 pm #833120Hi Craig,
Thanks for the URL!
This is because you can select only one font weight from the setting. If you require to use multiple font weights for different elements, try adding following CSS code in your child theme’s style.css file:
@import url(https://fonts.googleapis.com/css?family=Roboto:400,500,400italic,500italic,700,700italic,300,300italic);
It will load Roboto font with 300, 400, 500 and 700 weights.
Thank you!
April 7, 2016 at 11:03 am #8714271. Where exactly would I place this in the style.css file?
2. Can I do this in the Child Theme file that we use whenever we create a new site so that we don’t have to keep doing it?
3. Can I do this modification to existing sites from within WordPress?
—Clearly I don’t modify core files much
Thanks in advance!
UPDATE: Is this as easy as going to WordPress Admin > Appearance > Edit . . . and then adding the code below what’s currently there, which is mostly a comment of the child theme info?
April 7, 2016 at 10:53 pm #872284Hello Craig,
You can access style.css using FTP like Filezilla then go to this folder: wp-contents/themes/x-child/. Download style.css file then add the suggested code and upload it again on the same folder.
Hope this helps.
April 8, 2016 at 12:54 pm #873135Thanks!
April 8, 2016 at 11:39 pm #873727You are most welcome.
-
AuthorPosts