Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #647745

    Hi

    I have added a custom font named Antipasto to quick CSS and when i used it it shows fine in my computers but i noticed that ti doesnt show at all in other visitors pc’s and/or mobile devices and tablets.
    For now i’m only using it in Layer Slider as Title and excerpt pulling the info from existing Portfolios but im planing to use it in pages and portfolios as well.
    For the text in the layer slider i used for example <span style=”font-family: antipasto; letter-spacing: 10px; word-spacing: 5px;”>[title]</span> etc..
    In my computers it shows fine the font but not in others.
    Please check on the provided link
    Thank you very much

    Hi I have managed to make it work it was the url, I just need to know how to use it shortly because i created a directory named font inside themes/enfold and in font face css i had url(fonts/antipasto.woff) but it didnt work but when i used the whole path it worked but its long with http://&#8230;
    is there a way to have it shorter? Maybe i have to create directory fonts in the main WP directory?

    Thank you

    • This topic was modified 8 years, 5 months ago by hdpcr.
    #648368

    Hey hdpcr,

    I’m not sure about this line:

    src: local(‘Antipasto’), url(https://fantasyrooms.com/wp-content/themes/enfold/fonts/Antipasto.woff);
    

    I have never used that local statement before but I think it’s a reference to your local computer? Try removing it and use only the live server URL.

    Best regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.