Tagged: x
-
AuthorPosts
-
September 16, 2016 at 4:12 am #1177955
koosang153ParticipantHi, I made this website,
As you see the bottom part, I have some Korean headlines and contents in Korean.
For the Korean part, I would like to apply ‘Spoqa Han Sans’ instead of Default PT sans that I set from Xtheme.According to Spoqa Han Sans website, it says to apply this font, I need to type
@import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css); under style sheet
and put * { font-family: ‘Spoqa Han Sans’, ‘Spoqa Han Sans JP’, ‘Sans-serif’; } under style tag.I tried to do it from custom CSS part in x theme cornerstone..but it didn’t work and I am lost.
Please help me to solve this issue!! I hope there is easiest way to do it.THANK YOU IN ADVANCE.
EM.September 16, 2016 at 10:45 am #1178327
Nabeel AModeratorHi there,
Thanks for writing in! Please add the following CSS in your child theme’s style.css file instead of your Customizer:
@import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css); .x-colophon.bottom .x-colophon-content p { font-family: "Spoqa Han Sans", "Spoqa Han Sans JP", "Sans-serif" !important; }Let us know how this goes!
September 16, 2016 at 11:53 pm #1179026
koosang153ParticipantWhat if I didn’t use the X child theme?
I just used x theme. instead of child theme.September 17, 2016 at 2:46 am #1179155
Rue NelModeratorHello There,
I would not recommend doing that. What you are trying to accomplish requires a template customization, which is why we would like to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
After the child theme is set up, please add the following code in your child theme’s style.css file
@import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css); .x-colophon.bottom .x-colophon-content p { font-family: "Spoqa Han Sans", "Spoqa Han Sans JP", "Sans-serif" !important; }Hope this explains it.
September 17, 2016 at 10:30 am #1179414
koosang153ParticipantThis reply has been marked as private.September 17, 2016 at 7:58 pm #1179764
Rue NelModeratorHello There,
Thank you for the updates! The code actually works but it is applied in the footer content.
http://prntscr.com/cj9iogIf you want to include the single blog post contents, please update the code and add the following css code in the customizer, Appearance > Customize > Custom > CSS
@import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css); .single-post .site .entry-header, .single-post .site .entry-content, .site .x-colophon.bottom .x-colophon-content p { font-family: "Spoqa Han Sans", "Spoqa Han Sans JP", "Sans-serif" !important; }And since you have installed a caching plugin WP Fastest Cache and WordFence, please clear your plugin cache before testing your site. This can cause the changes to not take place on the front end. It will eventually show up when the cache regenerates, but it’s not ideal if you’re looking to see your changes immediately. Caching plugins are best to turn on only when you’ve finished building the site.
Hope this helps. Please let us know how it goes.
September 19, 2016 at 12:01 am #1180846
koosang153ParticipantThanx for help!
I followed your suggestion, and now it works, the posts with Koreans are now looking great with Spoqa han sans! But titles are still in PT sans.
What if I want Spoqa Han Sans to be applied on title or headlines on mainpage (if it’s in Korean)?
(REAL PR STORY)웃음이 가득한 민컴 <- This headline can be found in main page http://www.mnkpr.com
and whole headline is in PT sans even though there is 웃음이 가득한 민컴 written in Korean,
I want Korean to be Spoqa HAn Sans, and other English part always in PT sans.
What should I do?September 19, 2016 at 12:12 am #1180850
ChristopherModeratorHi there,
Please add this code :
.category-real-pr-story h3.h-recent-posts { font-family: "Spoqa Han Sans", "Spoqa Han Sans JP", "Sans-serif" !important; }Hope it helps.
September 19, 2016 at 1:29 am #1180894
koosang153ParticipantIt worked!!!
Thank you so much!!!
September 19, 2016 at 1:36 am #1180901
koosang153ParticipantOne last TWO questions!!!
1…
http://mnkpr.com/mnk-real-pr-story-11/
if you go there, it’s one of posts, the body texts are looking perfect with spoqa sans, but
[Real PR Story] 팀워크 빌딩을 위한 각자의 역할
the title is still in PT sans. What should I do?2…
And the sidebar has all the list of [REAL PR STORY] and all has some Korean texts, and they need to be replaced to Spoqa han sans as well..Thanx in millions in advance!
September 19, 2016 at 1:43 am #1180907
ChristopherModeratorHi there,
Please add this code :
h1.entry-title,aside.x-sidebar.nano.has-scrollbar li a { font-family: "Spoqa Han Sans", "Spoqa Han Sans JP", "Sans-serif"; }Hope it helps.
September 26, 2016 at 4:06 am #1190503
koosang153ParticipantThis reply has been marked as private.September 26, 2016 at 4:16 am #1190511
ChristopherModeratorHi there,
Provided credentials didn’t work, please check.
Thanks.
September 26, 2016 at 4:34 am #1190539
koosang153ParticipantThis reply has been marked as private.September 26, 2016 at 4:45 am #1190554
ChristopherModeratorHi there,
The font is loading fine, please see the attachment.
Please provide us with more information like which code is not working fine and where we can see the issue.Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1177955 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
