Code: Select all
@font-face {
font-family: 'custom_bold';
src: url('fonts/custom_bold-webfont.otf') format('opentype'), url('fonts/custom_bold.ttf') format('truetype');
font-weight: 900;
font-style: normal;
}then I'm initially just trying to apply this to the cover page where I have the style controlled by a paragraph class:
Code: Select all
p.TitleDocType
{
font-family: 'custom_bold', Arial, sans-serif;
font-size: 32pt;
color: #595b60;
margin-top:22px;
margin-bottom: 0px;
margin-right: 45pt;
text-align: right;
text-transform: uppercase;
line-height: 34pt;
}Code: Select all
<p class="TitleDocType"><MadCap:variable name="ProductVariables.TitleDocType" /></p>I want it to look like this with the custom font:
I've done a LOT of googling and reading about custom fonts in CSS and this ought to work (I've got it working in webhelp in a separate case). Has anyone managed to do this? any idea what's going wrong or what I need to do to make it work?
Thanks
Ruth