Viewing 15 replies - 1 through 15 (of 15 total)
  • So sorry for your given link. I can’t able to access your site because it is in local server.

    Thread Starter helogod

    (@helogod)

    Hello WEN,

    Actually it is a local server. The path is there only to give the direction of the directory font in which is fonts.

    Please try by follow this link.
    Thanks

    Thread Starter helogod

    (@helogod)

    I go gone to visited the link

    Thank you for your answer

    Thread Starter helogod

    (@helogod)

    You can close the topic

    Thank you

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Good morning helogod….you posted “You can close the topic”, were you able to solve your fonts issue?

    Thread Starter helogod

    (@helogod)

    Hello,

    No I did not solve my problem, but it is not grave, I see myself grateful(inescapable) to use a plugin what I did not want.

    Thank you for your attention

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Which font were you wanting to use and for what part of your web site page or content?

    Thread Starter helogod

    (@helogod)

    Good morning,

    I would like to use the fonts which(who) is in a directory font (/themes / longevity / fonts). “Ubuntu” for the body and “Yanone Kaffeesatz” for h1 h2 h3 h4 h5 h6

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Sorry, I forgot to ask. You are wanting these fonts without using a plugin?

    Thread Starter helogod

    (@helogod)

    Yes that’s it I do not want to use of plugin

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Thanks for the information. I’m going to assume you are not using a child theme, so the next best way to add new fonts to a theme in the easiest way is how Google shows how this is done. If you are using a child theme, then I would show you a different way.

    Lets look at Ubuntu.

    If you go to the Ubuntu page at Google Fonts HERE and look at the bottom part of the page, you will see three tabs:

    Standard
    @import
    Javascript

    You get three ways of adding the font to your website and each method gives you examples of how. But for the easiest method, you can try the @import method. This means in your stylesheet, you would put this at the top area just before your CSS starts:

    @import url(https://fonts.googleapis.com/css?family=Ubuntu);

    Again, if you are not using a child theme, then I recommend using a plugin that lets you create a custom stylesheet. This is a good plugin: Simple Custom CSS. You would then add that @import line to your custom stylesheet.

    Then, to change your body font style to Ubuntu, then you can do this in your custom stylesheet:

    body {font-family: Ubuntu, sans-serif;

    Let’s look at Yanone Kaffeesatz

    You would do the exact same thing and put that in the same custom stylesheet. For your headings h1, h2, etc., you would then do this:

    h1, h2, h3, h4, h5, h6 {
    font-family: font-family: 'Yanone Kaffeesatz', sans-serif;
    }

    Your font Yanone Kaffeesatz info about this is found HERE

    Thread Starter helogod

    (@helogod)

    Very well I am going to make that you me recommended.

    Thank you for your patience I inform you

    Thread Starter helogod

    (@helogod)

    Hello
    I followed your instructions and everything works. Not really as I wanted but everything is OK. Thank you again for your help(assistant)

    Theme Author Shaped Pixels

    (@shaped-pixels)

    You’re very welcome 🙂

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Fonts localhost’ is closed to new replies.