Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1139475
    Thai4more
    Participant

    Dear X, I put 2 heading under each other witch i want display in 2 diffrent fonts. I did that through adding a css to it and it looks like it working fine in cornerstone, but when i look at my live site the font gets changed see attachment, what can be the problem?
    i have attached a cornerstone preview aswell the live preview.
    you cant see it here the first 2 headings https://www.4morefightshorts.com/draw-a-design/
    thanks in advantage, best regards Cor

    #1139969
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! I can see that you are attempting to use Roboto Google font. You have to load this font first before you can use it. I would recommend that you update the css code and use this instead:

    @import 'https://fonts.googleapis.com/css?family=Roboto';
    
    .fontroboto{
    	font-family: 'Roboto', sans-serif;
    	font-style:normal;
    	font-weight:400;
    	font-size:20px;
    	letter-spacing:0.5px;
    }

    We would loved to know if this has work for you. Thank you.

    #1141589
    Thai4more
    Participant

    Hi, I just notice that the font is displayed, without adding @import ‘https://fonts.googleapis.com/css?family=Roboto’;
    Maybe it was a cashing issue or something. Thanks for your time, X all the way

    #1141731
    Thai
    Moderator

    If you need anything else please let us know.

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