New Landing How can we help? Themeforest Theme Support Dante change font for only one h tag

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #86037
    sandraeddy04
    Member
    Post count: 47

    Hey there,
    I’m trying to change the headline font for just my h2 tag…have added this to the theme options custom css panel:

    h2 {
    font-family: ‘Pacifico’, cursive;
    }

    It did change the font, but it’s definitely not rendering correctly (looks nothing like Pacifico, which is a google font). Can you help? Thank so much!

    #86063
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    You’ll need to load the font too. Try adding this code to your child theme style.css file, or the custom css:

    @import url(http://fonts.googleapis.com/css?family=Pacifico);

    Hope that helps.

    – Ed

    #86429
    sandraeddy04
    Member
    Post count: 47

    Didn’t work! But I added to the <head> and that did the trick. ๐Ÿ™‚

    #86465
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Glad you sorted it ๐Ÿ™‚

    – Ed

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register