javascript - Update the standard font style for the /ja-jp/ website to Microsoft's Meiryo font -
in sitecore website there enhancement requested client. want me update standard font style /ja-jp/ website microsoft's meiryo font. includes updating html-based stylesheets related templates , sublayouts.
i have limited time want start best suggestion instead of going different approaches.
further detail : in html have
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> and need update font "japanese" i.e
font-family: meiryo ; so trying adding below code style sheet :
*:lang(ja) { font-family: meiryo ; } but
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> is not letting me this, , in case if change html lang value 'ja' changing entire website meiryo font, there way can have multiple html lang in main html.
any suggestions?
you add class body tag when language ja-jp. e.g.:
<body class="jajp"> then on stylesheet add font want case. e.g.:
body.jajp * { font-family: meiryo; }
Comments
Post a Comment