(i)You can download the font ( Example:PT-Sans.ttf ) , and Create the Font Folder and place the Font in Folder
(ii)Go to the CSS Style Sheet and Write blow content
@font-face {
font-family: 'PT Sans Caption';
src:
url('fonts/PTC55F.ttf') format('truetype'),
font-weight: normal;
font-style: normal;
}
h1 {
font-family: 'PTC55F', arial, helvetica, serif; font-weight: normal; color: #c73331;
}
This way you can use as many custom fonts as you feel like on your website.
(ii)Go to the CSS Style Sheet and Write blow content
@font-face {
font-family: 'PT Sans Caption';
src:
url('fonts/PTC55F.ttf') format('truetype'),
font-weight: normal;
font-style: normal;
}
h1 {
font-family: 'PTC55F', arial, helvetica, serif; font-weight: normal; color: #c73331;
}
This way you can use as many custom fonts as you feel like on your website.
No comments:
Post a Comment