News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

@ Font Face

Started by kelbel3abh, October 20, 2014, 12:16:39 AM

Previous topic - Next topic

kelbel3abh

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;

}

abantecart


kelbel3abh

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?


kelbel3abh

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?

Forum Rules Code of conduct
AbanteCart.com 2010 -