Results 1 to 2 of 2

Thread: Adding New Fonts

  1. #1
    Thread Starter
    aiahmed's Avatar
    Join Date
    Sep 2013
    Location
    Bangladesh
    Posts
    52
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Adding New Fonts

    Hi,

    Nothing on vantage about adding new fonts with my child-theme. So can anyone tell me how I can use the @FontFace feature of css and what will I speficy as the url and where i should place the font.

    Currently I've put the following lines on my child's css sheet:

    Code:
    @font-face {
        font-family: MyCustomFontName;
        src: url("../vantage/MyCustomFontName.otf);
    }
    NEXT I APPLIED THE NEW FONT TO A CSS Class like:

    Code:
    h2{
    font-family: MyCustomFontName, cursive, Ariel;
    }

    I have the font MyCustomFontName.otf uploaded in the vantage main folder. For some reason this is not working for the site. the custom font is not getting picked up by any browser, only my secondary font option is getting picked up.


    Please Help!
    If this actually worked, i could transfer the file to my child folder and rename the url to url("../vantage-child/MyCustomFontName.otf);

  2. #2
    Thread Starter
    aiahmed's Avatar
    Join Date
    Sep 2013
    Location
    Bangladesh
    Posts
    52
    Thanks
    6
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Samcy my fonts gone mad....:/
    By knova15 in forum Help Using ClassiPress
    Replies: 3
    Last Post: August 19th, 2013, 07:11 AM
  2. Fonts
    By vacanciesinmalta in forum Simplux
    Replies: 2
    Last Post: July 24th, 2013, 04:42 PM
  3. [SOLVED] Fonts
    By pablorodriguez in forum Eva
    Replies: 2
    Last Post: May 2nd, 2013, 02:47 PM
  4. How do I change the Fonts
    By appleberryexchange in forum ClassiPress General Discussion
    Replies: 1
    Last Post: April 27th, 2011, 09:13 AM