Tagged: x
-
AuthorPosts
-
February 27, 2017 at 10:20 pm #1388235
alainfilionParticipantGreetings!
I’m having issues trying to use the weight 300 for the Roboto font. I have no effect if I switch from 400 to 300.
I started using the font as my body font in the Customizer’s Typography section with no success.
Then I tried by placing @import url(‘https://fonts.googleapis.com/css?family=Roboto:300,400’); in the Customizer’s Custom CSS section.
Can you help me out with this issue?
Thanks!
February 28, 2017 at 5:00 am #1388555
Paul RModeratorHi,
You can try adding this in your child theme’s functions.php file
// Add roboto Font function add_roboto_font() { ?> <link href="https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i" rel="stylesheet"> <?php } add_action( 'wp_head', 'add_roboto_font' );Hope that helps.
February 28, 2017 at 7:04 am #1388699
alainfilionParticipantThis reply has been marked as private.February 28, 2017 at 9:24 am #1388874
RupokMemberHi there,
Thanks for writing back. Looks like new font CSS is loading fin and all the font-weight working as well. Let’s clear your cache and check again.
Cheers!
February 28, 2017 at 8:19 pm #1389630
alainfilionParticipantI guess that was it! Thanks for the help!
February 28, 2017 at 11:56 pm #1389781
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1388235 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
