Font Not Working for H Tags

Home Forums Use Any Fonts Font Not Working for H Tags

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6981
    Scott Davis
    Guest

    Hey,

    I’ve got this working for me on the body text, but it doesn’t seem to be overriding the wordpress settings for the heading tag font.

    I’m attempting to use Proxima Nova font (see body text) and this is in the Pleasant WP Theme by Grace Themes.

    Thanks,

    Scott

    #6985
    Dinesh
    Keymaster

    Hi Scott,

    I checked your site and found that there is another font assign in your style.css for those heading elements. Those are marked as important, so our plugin is unable to overwrite it.

    So from this file https://www.onehealthmedicalgroup.co.uk/wp-content/themes/pleasant/style.css, please remove this css defination.

    h1, h2, h3, h4, h5, h6 {
        font-family: "Proxima Nova" !important;
        font-weight: 400;
        line-height: 1;
        margin: 0 0 20px;
        padding: 0;
    }

    Hope this helps.

    Thanks

    #6988
    Scott Davis
    Guest

    Awesome. Thanks for catching that. Works great now!

    #6989
    Dinesh
    Keymaster

    Hi Scott,

    Glad it is working for you.

    If you have a few mins for us, can you please write us a review for our plugin at https://wordpress.org/support/view/plugin-reviews/use-any-font ? This will help us grow and makes easier for others to decide to use the plugin.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Font Not Working for H Tags’ is closed to new replies.