Changing font in title – News-pro – or trying

Community Forums Forums Design Tips and Tricks Changing font in title – News-pro – or trying

This topic is: not resolved

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  micki 8 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #77890

    micki
    Participant
    Post count: 26

    I am stumped. I need to change site title and have added this to .css:

    @font-face {
    font-family: ‘hobo’;
    src: url(‘fonts/hobo/hobon.eot’);
    src: url(‘fonts/hobo/hobon.eot?#iefix’) format(‘embedded-opentype’),
    url(‘fonts/hobo/hobon.woff’) format(‘woff’),
    url(‘fonts/hobo/hobon.ttf’) format(‘truetype’),
    url(‘fonts/hobo/hobon.svg#hobon’) format(‘svg’);

    }

    Then added this to .site-title:
    font-family: ‘hobo’ sans-serif;

    and nothing changes.

    yes, the font folder is in the theme folder on server. this has worked well for me in the past with other sites. Any help is greatly appreciated! And I would be happy to place code in the functions file but not sure how i would do this for a non googlefont.

    • This topic was modified 8 months, 3 weeks ago by  micki.
    • This topic was modified 8 months, 3 weeks ago by  micki.
    #77892

    braddalton
    Participant
    Post count: 9433

    You need a comma between each font in the stack
    [css]
    font-family: hobo, sans-serif;
    [/css]


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #77896

    micki
    Participant
    Post count: 26

    Ahh, thank you so much, I kept comparing to another and just didn’t see that. MUCH appreciated!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.