AbanteCart Community
Shopping Cart Operations => Support => Template Support => Topic started by: kelbel3abh 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;
}
-
Browser cache?
-
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?
-
Put font-face to the top
http://stackoverflow.com/questions/12376639/where-to-put-font-face-in-css
-
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?