BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Trying to work with custom fonts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Question

    #38644
    @foxdenvixen

    On a previous site I was able to use custom fonts. That was using v3 of buddyboss and a webfont kit from fontsquirrel.com. A year later now I am trying to add a custom font to my current site and I can't get it to work. I have uploaded the custom fonts to the CSS folder along with the generated font.css stylesheet. In functions I added a line below the line that calls the custom.css page and renamed that to font.css. When doing an inspect element, Chrome has a strikethrough on the custom font. Why is this happening? I don't want to use a special plugin. The font I am trying to use is free and is called cinzel decorative regular. The @fontface has it as .cinzel_decorativeregular. and I have placed this using font-family where I want the font to appear.

    Answers

    #38667

    Deepak BuddyBoss
    Participant
    @deepak

    @foxdenvixen you will need to use !important to change the font family. But really using a font plugin is the easiest way to go. Specifically Google has a great font plugin for WordPress.

    #38668
    @foxdenvixen

    I will check to see if cinzel is part of the google lineup. Thanks.

    #38724

    Deepak BuddyBoss
    Participant
    @deepak

    NP

Viewing 4 posts - 1 through 4 (of 4 total)
  • The question ‘Trying to work with custom fonts’ is closed to new replies.