Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2008
    Location
    Gouda, Netherlands
    Posts
    213
    Plugin Contributions
    1

    css problem Embed font issue driving me crazy

    Hi,

    For months I've tried to embed a font into zencart, and I just can't get it right. It's probably due to my limited knowledge of css. First I tried sifr, but without any luck, I didn't know where to put the codes and all. I've tried a milion things but without luck.

    Now I decided to try the eot. fonts from microsoft. And it makes me this code (after it tells me it can't see my website either on the internet or on localhost and than it gives me a code {Stand alone fonts}

    <STYLE TYPE="text/css">
    <!-- /* $WEFT -- Created by: Jvabree (no_mailforprivacy_reasosn######################) on 8-5-2008 -- */
    @font-face {
    font-family: decorative fontFINAL;
    font-style: normal;
    font-weight: normal;
    src: url(file:///C:\Documents and Settings\Juliet van Ree\DECORAT0.eot);
    }
    -->
    </STYLE>


    and if I put it in the stylesheet it gives me a error parsing styles affects ie 6.0

    I've tried testing it on localhost and moved the font to my zen directory and adjusted the src accordingly.

    Now I'm probably doing something very stupid here, it wouldn't be the first time I tried to paste jscript into css or something like that, but I really would like to get it right. Can someone please point me in the right direction?

    Thanks in advance and please have mercy on my stupidity.

    Juliet van Ree

  2. #2
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Embed font issue driving me crazy

    Just guessing...

    Guess #1: What did you paste into your stylesheet? All the code in red in your post? If so, that's too much. Paste in only the part from the @ symbol down to the closing curly bracket. Does it work now? If not...

    Guess #2: I wonder if the spaces in the URI are not working within the stylesheet. They may need to be stated in code form by replacing each space with %20 (I think that's the right code.)

    Guess #3: Maybe you'll need to do both of the above guesses.

    Rob

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Embed font issue driving me crazy

    I've tried testing it on localhost and moved the font to my zen directory and adjusted the src accordingly.

    Now I'm probably doing something very stupid here, it wouldn't be the first time I tried to paste jscript into css or something like that, but I really would like to get it right. Can someone please point me in the right direction?
    Fonts available are not controlled by you - only by the fonts available at the customers local and browser.

    If you want to use one for impact - make it an image with alt text
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Embed font issue driving me crazy

    1. you can not embed font any more, that doesnt work on most modern browsers
    2. the only way to go, if you dont like images is to use sifr
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  5. #5
    Join Date
    Mar 2008
    Location
    Gouda, Netherlands
    Posts
    213
    Plugin Contributions
    1

    Default Re: Embed font issue driving me crazy

    Thank you all for your answers, it gives me a lot to think about but I'm more confident now I will find a solution for all of the font things. I'll post here to let you know what my final solution will be for applying an alternative font

 

 

Similar Threads

  1. v155 Shipping options Driving me Crazy....
    By Hollywood691 in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 8 Aug 2016, 09:23 PM
  2. Attributes images driving me crazy!
    By TheBuz in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 24 Apr 2009, 03:51 AM
  3. File Path Driving Me Crazy!
    By Guidingfoot in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 Aug 2007, 12:43 PM
  4. File Path Driving Me Crazy!
    By Guidingfoot in forum Basic Configuration
    Replies: 0
    Last Post: 30 Aug 2007, 11:47 PM
  5. Is driving me crazy please help!!
    By songoku in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 14 May 2007, 10:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg