1)영문 폰트 상관없을 때
아바다테마에서 Noto Sans KR을 적용하는 가장 쉬운 방법은
차일드 테마내의 style.css 파일 최상단에
| @import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css); body,h1,h2,h3,h4,h5,h6,li,a,textarea,p,span,dl,dt,dd,td,th,button,strong,label,input { font-family: dashicons,IcoMoon,'Noto Sans KR'!important; } |
를 삽입하는것입니다.(빠진 태그때문에 적용되지 않는것은 찾아서 더 넣으면 됩니다. dashicons 과 IcoMoon이 먼저 정의되는것은 워드프레스 관리자 단의 아이콘과 아바다테마의 아이콘때문입니다. 다른 테마에 적용시에는 이것을 빼면됩니다. )
@import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css);
body,h1,h2,h3,h4,h5,h6,li,a,textarea,p,span,dl,dt,dd,td,th,button,strong,label,input { font-family:'Noto Sans KR'!important; }
@import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css);
@import url('https://fonts.googleapis.com/css?family=Titillium+Web');
body,h1,h2,h3,h4,h5,h6,li,a,textarea,p,span,dl,dt,dd,td,th,button,strong,label,input {
font-family: dashicons,"Noto Sans KR" !important;
}
아바다테마에서 나눔바른고딕을 적용시
| @import url(HTTP://FONTS.GOOGLEAPIS.COM/EARLYACCESS/NANUMGOTHIC.CSS);
@import url(HTTP://CDN.JSDELIVR.NET/FONT-NANUM/1.0/NANUMBARUNGOTHIC/NANUMBARUNGOTHIC.CSS);
body,h1,h2,h3,h4,h5,h6,li,a,textarea,p,span,dl,dt,dd,td,th,button,strong,label,input { font-family: ARIAL, ‘나눔바른고딕’, ‘NANUM BARUN GOTHIC’, 나눔고딕, “NANUM GOTHIC”, 맑은 고딕 !IMPORTANT; } |
(차일드 테마 만드는법)