WordPress.org

Ready to get started?Download WordPress

Forums

What is The Best Way to Get Google Web Fonts Working? (6 posts)

  1. jsalmela
    Member
    Posted 3 years ago #

    I just read from the forums something like this:

    Blog Features → Custom Includes → First Additional Stylesheet link:
    http://fonts.googleapis.com/css?family=Ubuntu
    But the problem is that I can't find where is something called "Blog Features". I got "Settings" there, all right, but no Blog Features anywhere. I can view and edit the .php and .css there but I'd like to know that feature and where it is located.

    Using 3.0.5

  2. flamenco
    Member
    Posted 3 years ago #

    Hi,
    I've got the newest WP in all my blogs, and I don't see that, either. Fear not, here's another way to do it. But you'll need to look at and edit some code, but if you're not familiar with doing this, you should probably avoid it.

    Appearance... Editor... and look at the right for header.php. Click that, and see if you can find some lines that look similar to the one below. For safety, copy the code and save it, in case you mess up.

    Example:
    <link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>

    You can add your line after the other stylesheet lines, and see if that works. Obviously If that's over your head, or adding the extra line does nothing, you'll need to investigate, or get a geek to help you.

    Go here, click on any font you like, and then click "Use Font" to get the code for that font:
    http://www.google.com/webfonts

    Cheers

  3. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    @import url('http://fonts.googleapis.com/css?family=Crimson+Text');
    @import url('http://fonts.googleapis.com/css?family=Arimo');

    I just add that in style.css, directly under the header portion, before any css rules.

    I'm guessing the Blog Features thing is for wordpress.COM sites, not .ORG?

  4. jsalmela
    Member
    Posted 3 years ago #

    I used the header.php method, all tho it would make more sense to put in in the stylesheet for simplicity. I don't see a reason why the placement should matter as I don't believe it's going to "unimport" anything in any case.

    I just thought maybe WordPress was more reliable with it's built-in feature, but...

    I'm guessing the Blog Features thing is for wordpress.COM sites, not .ORG?

    Yes, I think it comes with the Custom CSS thing that costs like 15 euros or something. Awful how people really pay for something like CSS ;D!

  5. flamenco
    Member
    Posted 3 years ago #

    Voodoo's method is cleaner, and safer for those who might slip a finger and blast their site header.

    Yes, I think it comes with the Custom CSS thing that costs like 15 euros or something. Awful how people really pay for something like CSS ;D!

    That's funny. It's true, many people on the forum nowadays don't want to pay a penny to someone who might actually know what they're doing. :-)

  6. jsalmela
    Member
    Posted 3 years ago #

    Ok this is a little bit off topic but..
    flamenco, it's not paying for someone who know what they're doing but actually paying for someone enabling custom css for you - which is something very fundamental and basic in any internet site. Nobodys gonna do it for you, they just give you the tools to do it for yourself.

    I mean, I don't need it, since I host my own WordPress site.

Topic Closed

This topic has been closed to new replies.

About this Topic