Font CSS not working
-
[Moderator note: Duplicated thread. Continue https://www.ads-software.com/support/topic/font-css-not-working?replies=1 ]
I have converted a HTML website to WP and have been working on the CSS to make everything work properly. Some of the layout is off and I believe this is mainly due to the fonts listed in my style.css not working.
here is the snippet from my style.css regarding fonts:
/****** fonts *******/ @font-face { font-family: 'HelveticaNeueLTStdBlkCn'; src: url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-blkcn-webfont.eot'); src: url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-blkcn-webfont.eot?#iefix') format('embedded-opentype'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-blkcn-webfont.woff') format('woff'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-blkcn-webfont.ttf') format('truetype'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-blkcn-webfont.svg#HelveticaNeueLTStd97BlkCn') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'HelveticaNeueLTStdLtCnOb'; src: url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-ltcno-webfont.eot'); src: url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-ltcno-webfont.eot?#iefix') format('embedded-opentype'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-ltcno-webfont.woff') format('woff'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-ltcno-webfont.ttf') format('truetype'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-ltcno-webfont.svg#HelveticaNeueLTStd47LtCnOb') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'HelveticaNeueLTStdMdCn'; src: url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-mdcn-webfont.eot'); src: url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-mdcn-webfont.eot?#iefix') format('embedded-opentype'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-mdcn-webfont.woff') format('woff'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-mdcn-webfont.ttf') format('truetype'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-mdcn-webfont.svg#HelveticaNeueLTStd67MdCn') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'HelveticaNeueLTStdThCn'; src: url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-thcn-webfont.eot'); src: url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-thcn-webfont.eot?#iefix') format('embedded-opentype'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-thcn-webfont.woff') format('woff'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-thcn-webfont.ttf') format('truetype'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/helveticaneueltstd-thcn-webfont.svg#HelveticaNeueLTStd37ThCn') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'CatullRegular'; src: url('www.polestars.com/dev/wp-content/themes/Polestars/css/catull-regular-webfont.eot'); src: url('www.polestars.com/dev/wp-content/themes/Polestars/css/catull-regular-webfont.eot?#iefix') format('embedded-opentype'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/catull-regular-webfont.woff') format('woff'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/catull-regular-webfont.ttf') format('truetype'), url('www.polestars.com/dev/wp-content/themes/Polestars/css/catull-regular-webfont.svg#CatullRegular') format('svg'); font-weight: normal; font-style: normal; } /****** </fonts *******/
Can anyone figure out why this isn’t working?
WP: https://www.polestars.com/dev
Original site: https://www.polestars.com
- The topic ‘Font CSS not working’ is closed to new replies.