• Resolved mdivk

    (@mdivk)


    I understand this has been discussed but I couldn’t get it sorted out for the theme I am currently using: Hathor

    The theme is a great one but I want to treak the fonts

    I’ve tried to install font plugin cutefon to do that but it seems not working.

    I am not sure if it is because the restriction by the free theme (no restriction to pro version)

    My site is here: site

    I want to change the site_title’s font and menu
    s font

    I like this font: Poiret One, I already downloaded the ttf file

    Thank you very much.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hey there mdivk,

    This should be possible to change with some custom CSS. Could you please try the following CSS code in the style.css file of your child theme or add it in your site using the following plugin:

    https://www.ads-software.com/plugins/simple-custom-css

    #site-title a {
    font-family: 'Poiret One', cursive !important;
    }
    
    #navmenu li a {
    font-family: 'Poiret One', cursive;
    }

    This should change the site title and menu links to the font of your choice.

    Hope this helps ??

    Best regards,
    Bojan

    Thread Starter mdivk

    (@mdivk)

    Thank you Bojan,

    It’s not working, here is the site after the change.

    Where should I upload the font file to?

    Thread Starter mdivk

    (@mdivk)

    Is the auto notification of this forum working? everytime I post anything, I always check the “Notify me of follow-up posts via email”, but I do not receive email all the time: not in spam folder, just did not arrive at all. Maybe someone can take a look? I don’t know where to report this issue.

    Hey again mdivk,

    It appears that the code is working properly, this is what I’m seeing https://screencast.com/t/0cSW04p6. Could you please try clearing your browser cache and then checking for changes?

    Hope this helps ??

    Best regards,
    Bojan

    Thread Starter mdivk

    (@mdivk)

    This is exactly what I have here, I am not sure if this is related to the font which I have not uploaded because I don’t know where to upload it.

    BTW: I didn’t receive email notification about your post, don’t know why

    Hey again mdivk,

    Could you please try adding the following line to your header.php as instructed in Google Fonts:

    <link href='https://fonts.googleapis.com/css?family=Poiret+One' rel='stylesheet' type='text/css'>

    You can find the instructions here https://screencast.com/t/nWrwBayQ.

    I strongly suggest not editing theme core files but rather making a copy in your child theme and making the modifications there.

    After that don’t forget to add the CSS I provided above.

    This should display the correct font.

    Hope this helps ??

    Best regards,
    Bojan

    Thread Starter mdivk

    (@mdivk)

    Yes Bojan, it works now, thank you so much for your help. I appreciate that.

    Glad I could help ??

    Cheers,
    Bojan

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to change font?’ is closed to new replies.