Fonts don't load when you have subpages

marketing564
7 Posts
marketing564 posted this 23 January 2023
Report a bug

The issue is the linking of the stylesheet fonts.css within the head.

On the homepage this works fine but if you have sub pages the fonts.css file doesn't exist as its in the root of the website.

Currently the fonts file is brought in via this line in the head: ****

To fix the issue add this needs to be changed to: ****

This will allow sub pages to load the css file from the root of the site where this file is located.

While we wait you can place the above code in the site html within Additional Head html.

enter image description here
The issue is the linking of the stylesheet fonts.css within the head. On the homepage this works fine but if you have sub pages the fonts.css file doesn't exist as its in the root of the website. Currently the fonts file is brought in via this line in the head: **** To fix the issue add this needs to be changed to: **** This will allow sub pages to load the css file from the root of the site where this file is located. While we wait you can place the above code in the site html within Additional Head html. ![enter image description here][1] [1]: https://i.imgur.com/8fz371j.png
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 23 January 2023

Hello Ric,

We have the option to Embed Google Fonts so you do not need to paste any additional codes.

Please do the following to store your Google Fonts locally for an HTML website:

Run the Desktop Application.
Open the Site Settings -> Cookies Tab.
Check the "Embed Google Fonts" checkbox.
Save, re-export, and re-upload your site.

Please check more here.

Let us know your result.
...................................................
Sincerely,
Anna T
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Ric, We have the option to Embed Google Fonts so you do not need to paste any additional codes. Please do the following to store your Google Fonts locally for an HTML website: Run the Desktop Application. Open the Site Settings -> Cookies Tab. Check the "Embed Google Fonts" checkbox. Save, re-export, and re-upload your site. Please check more [here][1]. Let us know your result. ................................................... Sincerely, Anna T Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp [1]: https://nicepage.com/doc/318367/google-services-in-european-union
marketing564
7 Posts
marketing564 posted this 26 January 2023

I'm affraid this doens't fix it as I already had this ticked.

The issue is when you have subpages the fonts.css file is pointing to the root of the website which is fine for the homepage but the pages that are subpages (within folders) will not be able to read this fonts.css file as its in the root of the site and not in the folder of which the subpage sits. This might not be an issue with the nicepage hosting but when hosting the site yourself this is one of the many issues I have faced so far.

Thought your developers would be interested to see.

I'm affraid this doens't fix it as I already had this ticked. The issue is when you have subpages the fonts.css file is pointing to the root of the website which is fine for the homepage but the pages that are subpages (within folders) will not be able to read this fonts.css file as its in the root of the site and not in the folder of which the subpage sits. This might not be an issue with the nicepage hosting but when hosting the site yourself this is one of the many issues I have faced so far. Thought your developers would be interested to see.
Support Team
Support Team posted this 26 January 2023

Hi Ric,

We are sorry for the issue and will ask our developers to check it out.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Ric, We are sorry for the issue and will ask our developers to check it out. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments