Custom fonts

From SMT-X
Jump to: navigation, search

To add an additional font, please see the example below where we add the font RO Sans:

 @font-face {
	font-family: "RO Sans";
	src: url("fonts/RO-SansWebText-Regular.woff") format('woff');
 }

 @font-face {
	font-family: "RO Sans";
	src: url("fonts/RO-SansWebText-Bold.woff") format('woff');
	font-weight: bold;
 }

 @font-face {
	font-family: "RO Sans";
	src: url("fonts/RO-SansWebText-Italic.woff") format('woff');
 	font-style: italic;
 }
  

To use the added font in a style, refer to it like this:

#fullcontainer-zone02 h1 {
  font-size: 15px;
  margin: 0px 0px 5px 0px;
  padding: 10px;
  font-family: "RO Sans", Calibri, sans-serif;
  font-weight: normal;
  color: #fff;
  background-color: #01689b;
 }