Monday, 4 April 2016

Is there something wrong with my @font-face block?

First off, thanks for your help. I've been banging my head against the wall for hours now over this.

Here is the @font-face block:

 @font-face { font-family: 'Conv_ProximaNova-Reg'; src: url('fonts/ProximaNova-Reg.eot'); src: local('fonts/ProximaNova-Reg.eot'), url('fonts/ProximaNova-Reg.woff') format('woff'), url('fonts/ProximaNova-Reg.ttf') format('truetype'), url('fonts/ProximaNova-Reg.svg') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Conv_ProximaNova-Light'; src: url('fonts/ProximaNova-Light.eot'); src: local('fonts/ProximaNova-Light.eot'), url('fonts/ProximaNova-Light.woff') format('woff'), url('fonts/ProximaNova-Light.ttf') format('truetype'), url('fonts/ProximaNova-Light.svg') format('svg'); font-weight: normal; font-style: normal; } 

Here are the relevant CSS blocks:

.h1 { font-size: 30px !important; Margin-bottom: 20px; font-family: 'Conv_ProximaNova-Light', 'Open Sans', 'Arial', sans-serif; text-align: left; color: #252b33; padding: 0px 25px 0px 25px; } p { Margin: 0; font-family: 'Conv_ProximaNova-Reg', 'Open Sans', 'Arial', sans-serif; color: #7e8890; font-weight: 400; font-size: 16px; } .desc-text { padding: 20px 30px 10px 30px; line-height: 28px; text-align: left; font-size: 16px !important; font-family: 'Conv_ProximaNova-Reg', 'Open Sans', 'Arial', sans-serif; } .video-text { text-align: center; font-family: 'Conv_ProximaNova-Reg', 'Open Sans', 'Arial', sans-serif; } .bullet-text { padding: 0px 20px; line-height: 28px; font-size: 16px !important; color: #7e8890; font-family: 'Conv_ProximaNova-Reg', 'Open Sans', 'Arial', sans-serif; } 

Here is the page this is being viewed on. All of the fonts are in the same directory within the "fonts" folder as referenced in the code block, but it's still not working. What am I doing wrong?



Epic visual tool

Epson 5030UB 2D/3D 1080p 3LCD Projector Submitted April 04, 2016 at 08:05PM by Very_polite http://ift.tt/200UryU

No comments:

Post a Comment