Jump to content

Icons do not display


sanbikes

Recommended Posts

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&amp;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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...