CSS font not working
Hi, I don’t want my font CSS font not working, I have no idea why it worked a few days ago ...
Here is the CSS
@font-face {
font-family: 'TrajanProBold';
src: url('trajanpro-bold-webfont.eot');
src: url('trajanpro-bold-webfont.eot?#iefix') format('embedded-opentype'),
url('trajanpro-bold-webfont.woff') format('woff'),
url('trajanpro-bold-webfont.ttf') format('truetype'),
url('trajanpro-bold-webfont.svg#TrajanProBold') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'TrajanProRegular';
src: url('trajanpro-regular-webfont.eot');
src: url('trajanpro-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('trajanpro-regular-webfont.woff') format('woff'),
url('trajanpro-regular-webfont.ttf') format('truetype'),
url('trajanpro-regular-webfont.svg#TrajanProRegular') format('svg');
font-weight: normal;
font-style: normal;
}
body{
font-family:TrajanProBold;
background-color:#ebebeb;
padding:0;
margin:0;
}
and this one
<link rel="stylesheet" href="http://www.willruppelglass.com/css/slimbox2.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="http://www.willruppelglass.com/css/styles.css" />
Any help would be appreciated, J
source to share
Looking at the stylesheet ( http://www.willruppelglass.com/css/styles.css ) I can see that TrajanProBold
only applies to two elements:
body
and input
However, the Slimbox stylesheet ( http://www.willruppelglass.com/css/slimbox2.css ) has a different font stack applied to
#lbBottom
This way, Slimbox fonts will override the font TrajanProBold
, at least on the mentioned element.
source to share