Tagged: x
-
AuthorPosts
-
December 23, 2016 at 1:10 pm #1302979
goalsarecoolParticipantSomeone who viewed https://goalsarecool.com/test/ indicated that having the “link rel=’stylesheet'” (for Google Fonts) inside the main body isn’t the way to handle things. Is this accurate? If so, how did it happen and how do I fix?
December 23, 2016 at 4:56 pm #1303091
DarshanaModeratorHi there,
Thanks for writing in! You can simply import the font with @import statement within your Child Theme’s style.css file.
Alternatively you can also follow the example below and add it into your child theme’s functions.php file.
add_action ('wp_head', 'wpb-google-fonts', 9999 ); function wpb-google-fonts() { echo '<link href="http://fonts.googleapis.com/css?family=Satisfy" rel="stylesheet" type="text/css">'; }Hope that helps.
December 23, 2016 at 8:06 pm #1303286
goalsarecoolParticipantCan I put the following in CUSTOMIZER – Custom CSS?
@import url('https://fonts.googleapis.com/css?family=Dancing+Script');Can I put the following in a text box or text tab of a page?
<span style="font-size: 20pt; font-family: 'Dancing Script';">This is Dancing Script.</span>December 23, 2016 at 10:21 pm #1303350
FriechModeratorHi There,
#1 I’ve just answer that here: https://community.theme.co/forums/topic/font-6/?replyto=1303031#post-1303347
#2 Yes, you can. If you’re on Cornerstone you can put that on Text element or RAW content element.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1302979 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
