> ## Content Index
> Fetch the complete content index at: https://wp-pluginskit.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# Simple Custom CSS and JS
- URL: https://wp-pluginskit.org/custom-css-js/
- Published: 2026-11-26T12:27:22.000Z
- Updated: 2026-11-27T15:50:51.000Z
- Description: Add separate CSS or JavaScript entries, choose where they load, and check the result without editing your theme files.
- Author: Eric Bennett
- Tags: Plugins, #free, Site management and code

**Simple Custom CSS and JS by SilkyPress** lets you add CSS and JavaScript to WordPress without editing your theme files. Create a separate entry for each change, choose where it should load, then publish it and check the visitor-facing result. I'd use it for small, controlled additions that need their own entries; for a basic appearance change, check WordPress's built-in style controls first.

## Choose the right place for your code

Install [Simple Custom CSS and JS by SilkyPress](https://wordpress.org/plugins/custom-css-js/?ref=wp-pluginskit.org), with the directory slug `custom-css-js`. WP Zone's Custom CSS and JavaScript, WPCode and Code Snippets are separate plugins. Their menus, permissions and free features don't describe this product.

For a color, font or spacing adjustment, your theme's visual controls may already solve the problem. WordPress also provides [Additional CSS routes for block and classic themes](https://developer.wordpress.org/advanced-administration/wordpress/css/?ref=wp-pluginskit.org). A plugin becomes useful when you want independently named CSS entries, JavaScript or code that remains stored when you switch themes. Stored CSS can still stop matching the new theme's markup.

This plugin handles browser-side CSS, JavaScript and HTML. It isn't a PHP snippet runner. Use the correct tool for server-side changes rather than pasting PHP into its JavaScript editor. I'd keep a larger feature with dependencies in a maintained plugin or child theme, where its loading requirements can be managed together.

## Prepare a reversible change

Start on a staging copy with a current backup and code from a source you trust. The [UpdraftPlus backup guide](https://wp-pluginskit.org/updraftplus/) covers preparing a restorable copy. Keep your original code in a separate file too; the free edition doesn't include the Pro revision-history and preview features.

The developer states that pasted code isn't checked or validated. A successful save doesn't establish that a script is correct or safe. Front-end code can be inspected by visitors, so keep passwords, private API keys and other secrets out of it. Only trusted people should be able to edit these entries.

By default, administrators have access. The plugin also adds a **Web Designer** role; its settings let you remove that role if you don't need it. Review who holds it before handing over a site. Access to executable browser code deserves more care than ordinary text editing.

## Create one CSS or JavaScript entry

1. Under **Plugins → Add New**, install and activate the SilkyPress plugin.
2. Open **Custom CSS & JS** and choose **Add Custom CSS** or **Add Custom JS** for the language you're adding.
3. Give the entry a specific title, such as “Contact page button spacing.” Add only the intended code for this change.
4. In **Options**, select the linking type, page position and site area described below.
5. Click **Publish** for a new entry or **Update** for an existing one. Confirm that the entry is active.

Keep unrelated changes in separate entries. That makes it possible to deactivate one adjustment while leaving the others in place. Avoid storing the same CSS in the Customizer, your theme and this plugin at once: you need a clear place to change it when rules conflict.

![Simple Custom CSS and JS Publish box with the Update button](https://storage.ghost.io/c/22/ff/22ffd352-f3bc-45bd-a485-cf053432a3b5/content/images/2026/11/wppluginskit-custom-css-js-context-desktop-b49fcb215b.webp)

Use Update to save an existing code entry before checking the visitor page.

## Choose Internal or External File

**Linking type** offers **Internal** and **External File**. For the ordinary front end, Internal places the code in the page's HTML; External File links to a file in your WordPress uploads area. “External” here doesn't mean a third-party hosting service.

![Options panel showing External File and the selected Internal linking type](https://storage.ghost.io/c/22/ff/22ffd352-f3bc-45bd-a485-cf053432a3b5/content/images/2026/11/custom-css-js-linking-fb230955.webp)

Choose how the entry is delivered. This setting doesn't decide which pages should receive it. [View full size (opens in a new tab)](https://storage.ghost.io/c/22/ff/22ffd352-f3bc-45bd-a485-cf053432a3b5/content/images/2026/11/custom-css-js-linking-fb230955.webp?ref=wp-pluginskit.org)

The [version 3.55 output code](https://plugins.svn.wordpress.org/custom-css-js/tags/3.55/custom-css-js.php?ref=wp-pluginskit.org) uses the `custom-css-js` folder under your site's uploads directory. Even Internal entries selected for the block editor are combined into files for editor loading. Don't choose Internal on the assumption that it avoids every generated file.

Neither option is a universal speed fix. File delivery and page caching behave differently across sites. Pick a straightforward configuration, verify that the intended code arrives, and investigate a measured performance problem separately.

## Set the position and site area

In current 3.55 settings, **Where on page** offers **In the <head> element** and **In the <footer> element**. I'd put ordinary appearance CSS in the head so it can apply as the page renders. JavaScript placement depends on when the script needs the document and any libraries it uses. Moving every script to the footer won't repair missing dependencies or incorrect code.

**Where in site** separates **In Frontend**, **In Block editor**, **In Admin** and **On Login Page**. Select only the area the change needs. A visitor-facing adjustment usually starts with In Frontend; it doesn't need to affect the dashboard or login form. Block-editor styling has its own choice, so check the editor separately if you enable it.

The free plugin applies code across the selected site area. A CSS selector can limit which elements change, but it doesn't make the file load only on one URL. The developer lists [URL-based restrictions among the Pro features](https://www.silkypress.com/simple-custom-css-js-pro/?ref=wp-pluginskit.org), along with preview, revisions, minification and Sass/Less preprocessing. Use plain CSS in the free editor and don't plan a free setup around those Pro controls.

## Check the result and isolate problems

Open the affected page as an ordinary visitor, reload it and check a narrow screen as well as a desktop. For CSS, inspect the intended element's computed styles in browser developer tools. Confirm that the selector matches and see which rule wins before adding `!important`. A more specific or later rule can explain why a valid declaration appears to do nothing.

For JavaScript, check the browser console for errors and confirm the exact interaction the script is meant to change. Seeing a file in the Network panel only confirms that the browser requested it. It doesn't prove that the code ran correctly. If an optimization plugin delays scripts, isolate that setting on staging after checking the script's own dependencies.

| Symptom                                 | Next check                                                                                                                                        |
| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| No code appears                         | Confirm the entry is Published and Active, then check its selected site area and linking type.                                                    |
| The old result remains                  | Save with Update, then clear the relevant page, optimization or host cache and reload as a visitor.                                               |
| The file won't load                     | Check its request status and ask the host to verify that WordPress can write to the custom-css-js uploads folder. Avoid broad permission changes. |
| CSS loads but has no visible effect     | Inspect the actual markup, selector, computed styles and competing rules.                                                                         |
| The editor differs from the public page | Check In Block editor separately and inspect its markup; a front-end selector may not match there.                                                |

The [3.55 entry list and output builder](https://plugins.svn.wordpress.org/custom-css-js/tags/3.55/includes/admin-screens.php?ref=wp-pluginskit.org) distinguish publication from the active toggle: only published, active entries enter the output tree. If a change causes trouble, deactivate that entry first, clear the affected cache and recheck the page. Keep the saved code for diagnosis rather than deleting the entire plugin as your first step.

Setup guide

1. Prepare a backup and a staging copy; use trusted code without secrets.
2. Activate Simple Custom CSS and JS by SilkyPress and create the correct CSS or JS entry.
3. Choose Internal or External File, then the required page position and site area.
4. Publish or update the entry and confirm it is active.
5. Verify the intended change as a visitor on desktop and mobile. Deactivate the individual entry if you need to roll it back.

Make one change work before adding the next. For another WordPress task, the [plugin directory](https://wp-pluginskit.org/tag/plugins/) helps you choose a tool with the right scope.