insert js file into head before the body tag?

bill8
19 Posts
bill8 posted this 19 September 2019
Ask a Question

how do I do this?

Vote to pay developers attention to this features or issue.
5 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 19 September 2019

Hi William,

You can add the custom code under the Site >> Settings >> HTML >> Additional Head HTML, it will be added before the closing head tag.

...................................................
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

bill8
19 Posts
bill8 posted this 19 September 2019

Hello Hella
Thank you! I am trying to insert code into the webpage now. Clicking on "add" html gives me an uneditable txt box. What am I doing incorrectly?

Support Team
Support Team posted this 19 September 2019

Hi William,

You need to add the HTML control on the page and then add the code within the input area in the right panel within the HTML control options. That area can be expanded into the full-screen editor.

...................................................
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

nkrupa
3 Posts
nkrupa posted this 23 December 2020

Hi William,

You can add the custom code under the Site >> Settings >> HTML >> Additional Head HTML, it will be added before the closing head tag.

...................................................
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

I want to add a fave icon that's hosted remotely and when I try to add the link tag I get an error "The following tags are allowed: STYLE, BASE, LINK, META, SCRIPT, NOSCRIPT"

Support Team
Support Team posted this 23 December 2020

Hi,

Probably your code includes comments, remove comments and it should be accepted. But we recommend to upload the favicon using the default favicon option in the Site Settings >> General.

...................................................
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