Please let us know how this article can be improved.
Choose all that apply.*
Report a bad link
Out of date (instructions or screenshots)
Missing detail
Other
Create files at the root level
Learn how to create HTML, CSS, and JavaScript files in Store Editor.
Jun 20, 2024
Article ID: SLN29357
Merchants can create JavaScript, HTML, and CSS files at the root domain level rather than having to upload the files to Store Files. For example, creating a JavaScript file at the root level allows merchants to create functions such as browser notifications.
Click the Continue button. You will be taken to the Edit page for the file.
Under Object properties, enter your code into the Css-text field.
Click the Update button.
Important: Publishing these types of files will require a Publish Changes or Publish All of your store. It's not currently supported for the Publish Individual Pages option. Learn more.