Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #879560
    Johanschack
    Participant

    Hey,

    I wanted to use two different fonts to either some text or a custom header. I know they are already included in the theme. This first one is called “Indie Flower”. How would i be able to add this?

    Best regards,
    Johan

    #879979
    Paul R
    Moderator

    Hi Johan,

    Thanks for writing in!

    You can add this in the style field of your custom headline element or text element in cornerstone.

    font-family: "Indie Flower";

    eg. http://screencast.com/t/mb6b6nXkW1

    Hope that helps.

    #883807
    Johanschack
    Participant

    Hi,

    I had tried that earlier. it still doesn’t work.

    Any other recommendations?

    Thanks πŸ™‚
    Johan

    #884230
    Paul R
    Moderator

    Hi Johan,

    You need to add the font first.

    To do that, add this in your custom css.

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

    Hope that helps.

    #887140
    Johanschack
    Participant

    Still doesn’t work. I’ve added screenshots to show. below ill add login information so you can check if I’ve done anything wrong.

    thanks πŸ™‚

    #887146
    Johanschack
    Participant
    This reply has been marked as private.
    #887606
    Rue Nel
    Moderator

    Hello There,

    I spend sometime to investigate in your site. I even updated your X and Cornerstone to the latest versions. It turns out that because of the quotes, the inline style is not working. I have replaced it and used single quotes instead.

    
    font-family:'indie-flower', serif; color: red;

    Feel free to remove the red color. I just this for testing purposes. If there’s anything else, we can help you with, please let us know.

    #887657
    Johanschack
    Participant

    Hey, I can see that it is red and another font. But not the “Indie Flower” font. I have attached pictures of how it looks on chrome and firefox and how the font is supposed to look.

    Do you see the same? πŸ™‚

    #887667
    Johanschack
    Participant

    I FIGURED IT OUT!!

    Instead of serif it had to be cursive like this:

    font-family: ‘Indie Flower’, cursive;

    Thanks for your support.

    #887859
    Rad
    Moderator

    Glad to hear that and you’re welcome!

  • <script> jQuery(function($){ $("#no-reply-879560 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>