Author Topic: @ Font Face  (Read 5042 times)

Offline kelbel3abh

  • Newbie
  • *
  • Posts: 42
  • Karma: +5/-0
    • View Profile
@ Font Face
« on: October 20, 2014, 12:16:39 AM »
Hi, I linked a font via my template CSS page, but it isnt showing the font on the homepage.  It is showing on all the other pages, so I am wondering what I am doing wrong.  Thanks!  I have the following CSS in /storefront/view/default_html5/stylesheet/style.css:

@font-face {
    font-family: 'amatic_scregular';
    src: url("../font/amaticsc-regular-webfont.eot");
    src: url("../font/amaticsc-regular-webfont.eot?#iefix") format("embedded-opentype"),
         url("../font/amaticsc-regular-webfont.woff") format("woff"),
         url("../font/amaticsc-regular-webfont.ttf") format("truetype"),
         url("../font/amaticsc-regular-webfont.svg#amatic_scregular") format("svg");
    font-weight: normal;
    font-style: normal;

}

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: @ Font Face
« Reply #1 on: October 20, 2014, 01:30:07 PM »
Browser cache?
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline kelbel3abh

  • Newbie
  • *
  • Posts: 42
  • Karma: +5/-0
    • View Profile
Re: @ Font Face
« Reply #2 on: October 20, 2014, 02:43:34 PM »
Hi!  No, I cleared the cache in abantecart and my browser cache.  It is strange because it is only the homepage that has the wrong font.  If I go to the other pages, it is fine.  And, once I go to a product page, the font shows correctly and when I go BACK to the homepage from a product page, it shows correctly.  Does this make sense?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5798
  • Karma: +274/-2
    • View Profile
Re: @ Font Face
« Reply #3 on: October 21, 2014, 04:32:33 AM »

Offline kelbel3abh

  • Newbie
  • *
  • Posts: 42
  • Karma: +5/-0
    • View Profile
Re: @ Font Face
« Reply #4 on: November 14, 2014, 09:41:16 PM »
I am still having trouble with this.  I wonder if moving where the actual font is in my file manager will do anything.  Anyone used a custom font?

 

Powered by SMFPacks Social Login Mod