Tagged: x
-
AuthorPosts
-
December 2, 2016 at 9:42 am #1278864
Nabeel AModeratorHi again,
Try adding the following code in your Child Theme’s functions.php file:
add_action('wp_head', 'head_style_custom'); function head_style_custom() { ?> <link href="https://fonts.googleapis.com/css?family=Aref+Ruqaa" rel="stylesheet"> <?php }This should include the font in your site. Let us know how this goes!
December 2, 2016 at 10:10 am #1278885
yoni_BDParticipantHi guys,
Still now luck…
I want to make sure that I am doing what you are asking me. When you ask me to change my child theme style.css, you mean that I paste it under the commented area, like this:
/* Theme Name: X Theme URI: http://theme.co/x/ Author: Themeco Author URI: http://theme.co/ Description: An immensely powerful and endlessly customizable WordPress theme. Version: 4.6.4 License: GNU General Public License v2.0 License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: __x__ */ add_action('wp_head', 'head_style_custom'); function head_style_custom() { ?> <link href="https://fonts.googleapis.com/css?family=Aref+Ruqaa" rel="stylesheet"> <?php }I hope that this is correct.
Once I do this, I then go to cornerstone and then add this to change the font:
.x-blockquote { font-family: 'Aref Ruqaa', serif; font-size: 24px; color: #000; } .x-blockquote .x-cite { font-family: 'Aref Ruqaa', serif; font-size: 16px; color: #aaa; }Still, this doesn’t work.
December 2, 2016 at 12:43 pm #1279043
JadeModeratorHi there,
Apologies for the confusion. Please add this code below to the functions.php file of the child theme.
add_action('wp_head', 'head_style_custom'); function head_style_custom() { ?> <link href="https://fonts.googleapis.com/css?family=Aref+Ruqaa" rel="stylesheet"> <?php }Then add this to the CSS customizer:
.x-blockquote { font-family: 'Aref Ruqaa', serif; font-size: 24px; color: #000; } .x-blockquote .x-cite { font-family: 'Aref Ruqaa', serif; font-size: 16px; color: #aaa; }December 2, 2016 at 5:24 pm #1279307
yoni_BDParticipantHi Jade,
Thanks a lot! It works!
You guys rock!
December 2, 2016 at 10:44 pm #1279542
Rue NelModeratorHey There,
You’re welcome! We are just glad we were able to help you out.
Thanks for letting us know that it has worked for you.Cheers.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1135471 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
