Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #655677

    Dear enfold support team,
    i have added an extra class for h2 liked this. Everything works well except for the font-family. The browser doesn`t display my font-family.

    .custom-title-home h2{
    text-shadow: 1px 2px 8px rgba(0,0,0,1)!important;
    font-size: 50px!important;
    padding-bottom: 25px!important;
    font-family: “Salsa”,”Helvetica Neue”,Helvetica,Arial,sans-serif!important;
    }

    #656008

    Hey vnfan,

    How and where are you importing the salsa font? It’s picking the second font in your CSS so there must be something wrong with your import.

    Thanks,
    Rikard

    #656297

    if you don’t use this Salsa Font on Enfold Options Dialog “Fonts” or on advanced styling by setting up a rule for any element with that font. This font isn’t automatically activated for the site like this in the head area:

    <link id="avia-google-webfont" media="all" type="text/css" href="//fonts.googleapis.com/css?family=Raleway%7COpen+Sans:400,600%7CSalsa" rel="stylesheet">

    this code is missing till you do that mentioned above

    you can do that by setting up any element (f.e. h6 or even all h2) with Salsa Font.
    After that you can use Salsa Font in quick css.

    (or activate the font via functions.php of your child theme)

    #656844
    #659414

    Hi everyone,
    thanks so much. I have understand the principle. We can close this topic now.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘different font-family for h2’ is closed to new replies.