Adding CSS and JavaScript to Your Site

You can add CSS and JavaScript to every page of your WordPress site using a plugin.

To start with, install the Custom CSS and JavaScript WordPress plugin. Then go to WP Admin > Appearance > Custom CSS (or Custom JavaScript).

The following CSS will make this paragraph blue.

The following JavaScript will make this paragraph red.

You can add JavaScript to a single page using the Custom HTML block.

Parent page: