• rhroy

    (@rhroy)


    I’m trying to give the login page the same look as the website.
    However the font-face doesn’t seem to be applied.

    This is my code:
    @font-face {
    font-family: ‘ntf-grandregular’;
    src: url(‘/wp-content/font/ntf-grand-regular-webfont.ttf’) format(‘ttf’),
    url(‘/wp-content/font/ntf-grand-regular-webfont.woff2’) format(‘woff2’),
    url(‘/wp-content/font/ntf-grand-regular-webfont.woff’) format(‘woff’);
    font-weight: normal;
    }

    I’ve tried changing the ‘ to “” and also removing the qoutes.
    Is this a CSS issue or is there something wrong with the code?

    The exact same code we use on the main websites without issues.

    Hope to hear from you.

    Best Regards,
    Roy

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi rhroy

    Thanks for using our plugin.

    The plugin does not support ” grandregular ” font-family,

    We already provide the google font.

    We try to add that font family in next update.

    if you know about plugin development and add font family then follow this link : https://websitesetup.org/custom-fonts-wordpress/

    Thanks and most welcome.

    Hi @rhroy

    We update the plugin and add your given font-family,

    Please update your plugin.

    if you have any other query. let us know.

    Thread Starter rhroy

    (@rhroy)

    Hi Weblizar,

    Thank you very much for adding the font. I have 2 remarks.

    1. The font list is not categorised alphabetically, so NTF grandregular is now at the bottom
    2. I’ve tried the font and it seems to give an error (400 BAD request on the googleapis site)

    If you would like a screenshot let me know.

    Best Regards,
    Roy

    Hi, rhroy

    Yes! please send the screenshot so we check it.

    Thanks

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

The topic ‘Font-face CSS change not implemented’ is closed to new replies.