Tagged: x
-
AuthorPosts
-
February 24, 2017 at 5:32 am #1384157
aahmadi1979ParticipantHi,
I have tried a lot to work out having a custom add on my x-child theme.
I need your assistance. I have done the following:1. using transfonter, have created files in .oet, .woff, .svg, and .ttf.
2. uploaded the files to the root file, which in my case is for instance: http://www.nhmigration.com/wp-content/themes/x-child/byekan.oet
3. then, I added this code under customizer: Custom/EDIT GLOBAL CSS:ont-face {
font-family: ‘byekan’;
src: url(‘www.nhmigration.com/wp-content/themes/x-child/byekan.eot’);
src: url(‘www.nhmigration.com/wp-content/themes/x-child/byekan.eot?#iefix’) format(’embedded-opentype’),
url(‘www.nhmigration.com/wp-content/themes/x-child/byekan.woff’) format(‘woff’),
url(‘www.nhmigration.com/wp-content/themes/x-child/byekan.ttf’) format(‘truetype’),
url(‘www.nhmigration.com/wp-content/themes/x-child/byekan.svg#byekan’) format(‘svg’);
font-weight: 500;
font-style: normal;
}From this point, I don’t know what to do. I have no css knowledge. Please confirm I did the right thing in the above 3 steps and let me know how I can have the custom font used on the theme.
I appreciate your quick response.
Regards,
AbbasFebruary 24, 2017 at 5:36 am #1384160
aahmadi1979ParticipantThis reply has been marked as private.February 24, 2017 at 10:20 am #1384376
DarshanaModeratorHi there,
Thanks for writing in! Please follow this post (https://community.theme.co/forums/topic/adding-custom-font-to-theme-customizer/#post-184533).
Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1384157 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
