Add custom JavaScript

You can add custom JavaScript to any Page Builder layout, per-page or sitewide.

To add custom JavaScript to a specific page:

    1. Do one of the flollowing:
      1. Page Builder 2.x: Click the title bar in the upper left corner to open the Tools menu, then click Layout CSS & JavaScript.
      2. Page Builder 1.x: In the upper right corner, click Tools > Layout CSS / Javascript.
    2. On the JavaScript tab, enter your JavaScript code.
    3. Click Save.

    To add custom JavaScript sitewide:

      1. Do one of the flollowing:
        1. Page Builder 2.x: Click the title bar in the upper left corner to open the Tools menu, then click Global settings.
        2. Page Builder 1.x: In the upper right corner, click Tools > Global settings.
      2. On the JavaScript tab, enter your JavaScript code.
      3. Click Save.

      To add JavaScript at a specific point in the layout:

      • Add the code to an HTML module.