sanbikes Posted November 27, 2017 Share Posted November 27, 2017 I added new fonts to my store, and now the icons do not display P.S 1.6.1.17 https://www.teste.maisvitaminas.com.br/ Link to comment Share on other sites More sharing options...
bellini13 Posted November 28, 2017 Share Posted November 28, 2017 What font did you add, and where and how did you add it? Did you view the source of the home page and confirm that the font is being loaded? Link to comment Share on other sites More sharing options...
sanbikes Posted November 28, 2017 Author Share Posted November 28, 2017 I downloaded these fonts, and hosted it on my server <link rel="stylesheet" href="http{if Tools::usingSecureMode()}s{/if}://fonts.googleapis.com/css?family=Open+Sans:300,600&subset=latin,latin-ext" type="text/css" media="all" /> <link href='http{if Tools::usingSecureMode()}s{/if}://fonts.googleapis.com/css?family=Patua+One%7COswald' rel='stylesheet' type='text/css'> Link to comment Share on other sites More sharing options...
sanbikes Posted November 28, 2017 Author Share Posted November 28, 2017 in global.css I added /* patua-one-regular - latin */ @font-face { font-family: 'Patua One'; font-style: normal; font-weight: 400; src: url('../fonts/patua-one-v7-latin-regular.eot'); /* IE9 Compat Modes */ src: local('Patua One'), local('PatuaOne-Regular'), url('../fonts/patua-one-v7-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/patua-one-v7-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/patua-one-v7-latin-regular.woff') format('woff'), /* Modern Browsers */ url('../fonts/patua-one-v7-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/patua-one-v7-latin-regular.svg#PatuaOne') format('svg'); /* Legacy iOS */ } /* oswald-regular - vietnamese_latin_cyrillic_latin-ext */ @font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; src: url('../fonts/oswald-v16-vietnamese_latin_cyrillic_latin-ext-regular.eot'); /* IE9 Compat Modes */ src: local('Oswald Regular'), local('Oswald-Regular'), url('../fonts/oswald-v16-vietnamese_latin_cyrillic_latin-ext-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/oswald-v16-vietnamese_latin_cyrillic_latin-ext-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/oswald-v16-vietnamese_latin_cyrillic_latin-ext-regular.woff') format('woff'), /* Modern Browsers */ url('../fonts/oswald-v16-vietnamese_latin_cyrillic_latin-ext-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/oswald-v16-vietnamese_latin_cyrillic_latin-ext-regular.svg#Oswald') format('svg'); /* Legacy iOS */ } /* open-sans-300 - vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext */ @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300; src: url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-300.eot'); /* IE9 Compat Modes */ src: local('Open Sans Light'), local('OpenSans-Light'), url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-300.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-300.woff') format('woff'), /* Modern Browsers */ url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-300.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-300.svg#OpenSans') format('svg'); /* Legacy iOS */ } /* open-sans-regular - vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext */ @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-regular.eot'); /* IE9 Compat Modes */ src: local('Open Sans Regular'), local('OpenSans-Regular'), url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-regular.woff') format('woff'), /* Modern Browsers */ url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-regular.svg#OpenSans') format('svg'); /* Legacy iOS */ } /* open-sans-600 - vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext */ @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; src: url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-600.eot'); /* IE9 Compat Modes */ src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-600.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-600.woff') format('woff'), /* Modern Browsers */ url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-600.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_latin-ext_cyrillic-ext-600.svg#OpenSans') format('svg'); /* Legacy iOS */ } Link to comment Share on other sites More sharing options...
sanbikes Posted December 3, 2017 Author Share Posted December 3, 2017 I got it sorted out. Removing this */ at the beginning of FontAwesome; s font */@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot?v=4.3.0);src:url( Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now