Tagged: x
-
AuthorPosts
-
October 8, 2016 at 1:13 pm #1208133
koosang153ParticipantHello,
I need to have chinese characters for navigation bar.
And it seems like the default English setting font is keep on applying to the navigation bar.where should I put this?? I tried to put it at the customize css, it didn’t work.
Font-family: Hei, Microsoft YaHei, Sim Sun, serif;
Please help!
October 8, 2016 at 3:38 pm #1208205
NicoModeratorHi 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.
Thanks.
October 8, 2016 at 4:08 pm #1208227
koosang153ParticipantThis reply has been marked as private.October 9, 2016 at 1:37 am #1208522
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> Global CSS :
.x-navbar .x-nav-wrap .x-nav > li > a { Font-family: Hei, Microsoft YaHei, Sim Sun, serif; }Hope that helps.
October 9, 2016 at 5:30 am #1208679
koosang153ParticipantThis reply has been marked as private.October 9, 2016 at 5:38 am #1208685
ChristopherModeratorHi there,
You need to specify the font in your CSS, please add following code in Customize -> Custom -> Global CSS :
@font-face { font-family: 'FontName'; src: url('http://yoursite.com/fonts/fontname.eot'); src: url('http://yoursite.com/fonts/fontname.eot?#iefix') format('embedded-opentype'), url('http://yoursite.com/fonts/fontname.woff') format('woff'), url('http://yoursite.com/fonts/fontname.ttf') format('truetype'), url('http://yoursite.com/fonts/fontname.svg#fontname') format('svg'); }Hope it helps.
October 9, 2016 at 5:45 am #1208687
koosang153ParticipantThis reply has been marked as private.October 9, 2016 at 5:57 am #1208705
ChristianModeratorYou have this code in your CSS
.x-navbar .x-nav-wrap .x-nav > li > a { Font-family: Helvetica, "Microsoft JhengHei", "Heiti TC", san-serif; }Change it to
.x-navbar .x-nav-wrap .x-nav > li > a { font-family: "FZDBSJW", "Microsoft JhengHei", "Heiti TC", san-serif; }And, put your @font-face code at the top, above all CSS.
Thanks.
October 9, 2016 at 6:22 am #1208721
koosang153ParticipantIt’s still not working..
Is it because of the plugin I installed??this is the plugin I downloaded..
https://ko.wordpress.org/plugins/wp-sinotype/other_notes/it’s under Appearance -> WP sinotype
Please help! thank you!
October 9, 2016 at 6:27 am #1208724
ChristopherModeratorHi there,
Please provide us with FTP credentials.
Thanks.
October 9, 2016 at 6:36 am #1208730
koosang153ParticipantThis reply has been marked as private.October 9, 2016 at 6:46 am #1208738
ChristopherModeratorHi there,
I’m not able to connect to FTP due to following error :
Error: Failed to retrieve directory listingPlease check.
Thanks.
October 9, 2016 at 6:53 am #1208745
koosang153ParticipantThis reply has been marked as private.October 9, 2016 at 7:56 am #1208786
koosang153ParticipantWould you please try again? and see what’s causing the issue?
sigh…thank you. I am always so greatful for you guys’ support!!
Let’s me know how to code to fix the issue.October 9, 2016 at 3:39 pm #1209102
RadModeratorHi there,
I can’t really tell the difference, switching on and off the font family only changes the weight. Though, through developer tools, I can confirm that the font isn’t loading (Network > Fonts).
I moved the @font-face declaration on child theme’s functions.php to isolate them from other CSS. Have you bought this font? Do they have special instruction or stylesheet folder? It not, please convert your fonts to web font here https://www.fontsquirrel.com/ the upload your font files to your site including the stylesheet. Then let me know for further testing.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1208133 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
