Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4

Thread: font-face

  1. #1
    Member
    Join Date
    Jul 2011
    Posts
    95
    Member #
    28555
    Liked
    1 times
    I have a font that I need to use on a page, I have ran it through fontsquirral to get the webkit for this font and in my CSS I have:

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

    }

    .homenews p {font-family: vegurregular;}

    This isn't working and I have tried other various methods too and also an alternative font (myriad pro) but with no success, any help please?

  2.  

  3. #2
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    The links that you have to the font are relative links - have you got the font uploaded to the same folder?
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  4. #3
    Member
    Join Date
    Jul 2011
    Posts
    95
    Member #
    28555
    Liked
    1 times
    Yes the font files are in the same directory as the css

  5. #4
    Junior Member
    Join Date
    May 2013
    Posts
    11
    Member #
    36185
    @font-face {
    font-family: 'vegurregular';

    it could be the use of the single quotation marks 'vegurregular' i don't think you need to include them.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:31 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com