Okay
  Public Ticket #2551030
Can't get custom font to show, what am I doing wrong?
Closed

Comments

  • Brian started the conversation

    I love Layer Slider! It is exactly what I was looking for. The problem is, I need the font in the slider to match the one on my site. It is a custom font. 

    I have a @font-face code:

    @font-face {
    font-family: "fatfrank";
    src: url("http://test.orlandofringe.org/wp-content/uploads/2020/09/FatFrank-Regular.eot");
    src: url("http://test.orlandofringe.org/wp-content/uploads/2020/09/FatFrank-Regular-1.woff") format("woff"),
    url("http://test.orlandofringe.org/wp-content/uploads/2020/09/FatFrank-Regular.svg") format("svg");

    }

    I have added it to the "CONTENTS OF YOUR CUSTOM CSS FILE" in the options area but I'm not getting anything. 


    Is there a specific place I need to put it? Is there something wrong with my code above? I'm sorry but I don't have much experience with this and I need some help. 

    Thanks.


    -Brian


  •  244
    Kreatura Support replied

    Hello Brian,

    Thank you for getting in touch with us and your kind words!

    LayerSlider supports Google fonts but you can use your custom font too.
    You should write "fatfrank" to the font-family option of the layers or set it to inherit.
    After that it should work in the frontend. Probably your font is not loaded on the admin, so that's why it will be available in the frontend only.

    Please check it.

    Best Regards,
    Andrea | Kreatura Support Team

  • Brian replied

    where do I write the font name? I can’t find the spot to type it in for the font family. 

  •  244
    Kreatura Support replied

    Hello Brian,

    Thank you for the answer!
    You should write fatfrank to the font-family field and hit enter.
    Please check it.

    Best Regards,
    Andrea | Kreatura Support Team

  • Brian replied

    That did it! Thanks. I didn't realize you could type the name of the font. I was expecting it to show in the drop down list.

  •  244
    Kreatura Support replied

    You are welcome!smile.png 

    Best Regards,
    Andrea | Kreatura Support Team