Home › Forums › CSS › How to create a Global Custom CSS › Re: How to create a Global Custom CSS
March 24, 2013 at 6:20 am
#129484
JohnMotylJr
Participant
If you just want to apply a specific font to your entire page you just need to specify your font in the body.
body {
font:[weight], [style], [size]/[line height] ;
}
Since you are using a CMS, you need to find whatever file includes your head tag and include a link to the stylesheet OR just take that stylesheet and add the contents into your css file.
For example, if you want to use the font ‘OSWALD’ just get the stylsheet and add its contents into your css file.
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 400;
src: local('Oswald Regular'), local('Oswald-Regular'),
url(http://themes.googleusercontent.com/static/fonts/oswald/v7/-g5pDUSRgvxvOl5u-a_WHw.woff) format('woff');
}
In the body element just add the following:
body {
font:normal normal 16px/1 'Oswald';
}
Does that help any?