In the Custom code section, you can add code that will be applied to the whole project, i.e. will work for all website pages. This option makes it possible to apply custom styles for the entire site, as well as to embed external scripts and libraries.
Custom code can be added in two ways: inside the <head> tag and before the </body> tag.
Code placed in the <head> tag makes it possible to add links to external resources, metadata, and custom styles. For this, the <link>, <meta> and <style></style> tags are used.
- Don't forget to use closing tags. To simplify the work in the Code editor, closing tags are used automatically.
- Do not use <html>, <body>, and <head> tags in a custom code.
Custom code is not validated, so incorrect code can cause problems in the work of the published project.