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
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:
- Go to the path: wp-content/plugins/nextgen-gallery/static/IGW/Block/editor.css
- 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!
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!