iepbunleng016 wrote:
To change the font name and size depend on what template you are using:
1-/ Go to main page of
the Ezra Vogel Special Skills School2-/ Select the horizontal line menu then right click on it choose "View selection source"
3-/ you can see the code as follow:
Code:
<div id="jsn-mainmenu">
<div id="jsn-ptoolbar"> <div class="moduletable">
<ul class="menu-suckerfish"><li class="parent item24 order1 first"><a href="/vogel/km/home.html"><span>ទំព័រដើម</span>
........
Put your eyes on "menu-suckerfish"
Go to CSS files of the site "Joomla_Root_Folder/templates/Template_Name/css"
in this case is "http://vogel.km-kh.com/templates/km-kh/css/template.css"
You can see the code line around 1661:
Code:
ul.menu-suckerfish a:link,
ul.menu-suckerfish a:visited {
display: block;
border-right: 1px solid #000000;
border-left: 1px solid #404040;
margin: 0;
padding: 3px 1.5em;
color: #ffffff;
font-family: "Kh Metal Chrieng", Verdana, Geneva, Arial, Helvetica, sans-serif;
font-weight: bold;
text-decoration: none;
}
Please note that:
font-family: "Kh Metal Chrieng", Verdana, Geneva, Arial, Helvetica, sans-serif;
Finally we found that "Kh Metal Chrieng" is the default font for "menu-suckerfish" as well as for "Horizontal Menu of the site".
---------
if we find the word "font-family" on template.css file we can find some code as follow:
Code:
...
#jsn-master {
font-family: "Kh Battambang", Arial, Helvetica, sans-serif, "Khmer OS System";
font-size: 75%;
line-height: 1.5;
background: #172534 url(../images/master-bg.jpg) repeat-x top left;
}
...
/* @HEADING */
h1, h2, h3, h4, h5, h6 {
font-family: "Kh Metal Chrieng",Verdana, Geneva, Arial, Helvetica, sans-serif;
margin: 0.6em 0 .25em 0;
}
...
/* page heading */
.componentheading,
.contentheading {
font-family: "Kh Metal Chrieng", Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 1.4em;
}
...
/*additional input font design*/
input,select {
font-family: "Kh Battambang", Arial, Helvetica, sans-serif, "Khmer OS";
}
font-size is for the size of font
line-height is for space between lines
_________________
Sovann Heng ហេង សុវណ្ណ
km-kh.comអរគុណ"អាចជួយជំរុញអ្នកដទៃមានកម្លាំងចិត្តក្នុងការចែករំលែក
Khmer (Cambodia) Translation Team Coordinator អ្នកសម្របសម្រួលក្រុមបកប្រែភាសាខ្មែរ(កម្ពុជា)