• Resolved Antony Booker

    (@antonynz)


    Hello, just a heads up there is a missing font file in the nextgen-gallery/static/IGW/Block/editor.css file that’s called when in the block editor:

    @font-face {
    font-family: 'Lato';
    src: url('../../nextgen_admin/static/Lato-Regular.ttf') format('truetype')
    }

    It’s trying to load the Lato .ttf file from nextgen-gallery/static/nextgen_admin/static/Lato-Regular.ttf but the nextgen_admin folder doesn’t exist.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @antonynz,

    Thank you for reaching out,

    It looks like the fonts folder has been moved to nextgen-gallery/static/FonteAwesome/Webfonts.

    Could you please try accessing the fonts via the location provided above and check if it helps you or not!

    Let me know the updates and I will get back to you.

    Thanks

    Thread Starter Antony Booker

    (@antonynz)

    Thanks for the reply. That directory only has the font files for FontAwesome.

    I searched through the plugin and found the Lato font file here:
    nextgen-gallery\products\photocrati_nextgen\modules\nextgen_admin\static\Lato-Regular.ttf

    Would you be able to update the link within the plugin’s stylesheet above to that location? or remove that font reference if it’s not required? as its currently returning a 404 error in the block editor.

    Hi @antonynz,

    Sorry for the delayed response,

    To fix the issue, could you please follow the steps below:

    1. Go to the path: wp-content/plugins/nextgen-gallery/static/IGW/Block/editor.css
    2. Search for the following code;
    @font-face {
    font-family: 'Lato';
    src: url('../../nextgen_admin/static/Lato-Regular.ttf') format('truetype');
    }

    3. Comment the code.

    Once done, please check for the error. It should be removed.

    Let me know the updates after doing so and I will get back to you.

    Thanks!

    Thread Starter Antony Booker

    (@antonynz)

    Thanks for the reply. Yes I can confirm removing the @font-face lines will fix the issue as the Lato font is already called successfully in nextgen_admin_page.css.

    Hi @antonynz,

    Great to hear that issue has been fixed, and thanks for the update. Feel free to get back of any issues or confusion and I will help you further.

    Thanks!

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

The topic ‘Missing Lato font file on admin’ is closed to new replies.