New Landing How can we help? Themeforest Theme Support Dante Google font for one title only

Viewing 15 posts - 1 through 15 (of 17 total)
  • Posted in: Dante
  • #237550
    newki
    Member
    Post count: 177

    Hello,

    My whole website is in Helvetica (chosen in the theme Font options).
    I’d like to have my #logo h1 title in Cookie font (google font). I have this in my custom css but it doesn’t work. Do I have to declare “Google font” somewhere?
    Thanks for your help!

    #logo h1 {
    color:#7c7f84;
    padding-top:15px;
    font-size:16px;
    font-family: cookie,sans-serif !important;
    }

    #237556
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Yes, you will need to include the font. If using Google fonts you can add their CSS import to your Theme Options => Custom CSS.

    Example: https://www.google.com/fonts#UsePlace:use/Collection:Cookie

    The instructions provide you with this: @import url(https://fonts.googleapis.com/css?family=Cookie); Then update your code to use the correct family: font-family: 'Cookie', cursive;

    Thanks.

    #237581
    newki
    Member
    Post count: 177

    Great thanks !

    #237584
    David Martin – Support
    Moderator
    Post count: 20834

    No problem!

    Thanks.

    #237586
    newki
    Member
    Post count: 177

    In fact there’s a problem, I’ve testing several typo so as it’s written in the doc you’ve sent, I’ve added this at the top of Custom CSS :
    @import url(https://fonts.googleapis.com/css?family=Reenie+Beanie|Covered+By+Your+Grace|Homemade+Apple|Bilbo|Caveat|Jim+Nightshade);

    and then, for instance. But when I change in Caveat or another, it doesn’t change.

    #logo h1 {
    color:#7c7f84;
    padding-top:15px;
    font-size:16px;
    font-family: ‘Bilbo’, cursive;
    }

    #237588
    David Martin – Support
    Moderator
    Post count: 20834

    Test this:

    #logo h1 {
    color:#7c7f84;
    padding-top:15px;
    font-size:16px;
    font-family: 'Bilbo', cursive!important;
    }

    Thanks.

    #237591
    newki
    Member
    Post count: 177

    Yep sorry I’ve already put important and the result is the same for
    font-family: ‘Jim Nightshade’, cursive!important;
    or
    font-family: ‘Bilbo’, cursive!important;
    or the others…

    #237595
    David Martin – Support
    Moderator
    Post count: 20834

    Those are working for me, see screenshot.

    What do you see?

    Attachments:
    You must be logged in to view attached files.
    #237598
    newki
    Member
    Post count: 177

    Ah ah, I always have this, see print screen (and I empty the caches, tried with Chrome and Firefox and in Private navigation).
    I think I have “cursive”, are you on a Mac? (I’m on PC)

    Attachments:
    You must be logged in to view attached files.
    #237602
    David Martin – Support
    Moderator
    Post count: 20834

    I’m on Mac, but this should not make any difference.

    Can you add a WP login for me?

    Thanks.

    #237604
    newki
    Member
    Post count: 177
    This reply has been marked as private.
    #237605
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    This must be specific to your browser.

    The font you added in the screenshot is not a cursive font, it looks like comic sans.

    Are you using a browser plugins that could be causing this? Please test clearing the browser cache again.

    Thanks.

    #237608
    newki
    Member
    Post count: 177

    It doesn’t come from the browser because when I choose a google font in Font options, I see them.
    So I give up and put the sentence in the logo. I’ve uninstalled the child theme with the fuctions.php feature which allowed to display the “slogan”, reactive the theme but my navigation doesn’t work any more now, first time I have this with Dante…

    #237609
    newki
    Member
    Post count: 177

    My navigation works now, I become crazy. Thanks for your help anyway ๐Ÿ™‚

    #237610
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Glad to know this. Great thanks to David.
    Mohammad ๐Ÿ™‚

Viewing 15 posts - 1 through 15 (of 17 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