Discover, trust, install: FAIR 1.0 is here

Simple Custom CSS and JS
Version: 3.51
Description
Customize your WordPress site’s appearance by easily adding custom CSS and JS code without even having to modify your theme or plugin files. This is perfect for adding custom CSS tweaks to your site.
Features
- Text editor with syntax highlighting
- Print the code inline or included into an external file
- Print the code in the header or the footer
- Add CSS or JS to the frontend or the admin side
- Add as many codes as you want
- Keep your changes also when you change the theme
Installation
- From the WP admin panel, click “Plugins” -> “Add new”.
- In the browser input box, type “Simple Custom CSS and JS”.
- Select the “Simple Custom CSS and JS” plugin and click “Install”.
- Activate the plugin.
OR…
- Download the plugin from this page.
- Save the .zip file to a location on your computer.
- Open the WP admin panel, and click “Plugins” -> “Add new”.
- Click “upload”.. then browse to the .zip file downloaded from this page.
- Click “Install”.. and then “Activate plugin”.
OR…
- Download the plugin from this page.
- Extract the .zip file to a location on your computer.
- Use either FTP or your hosts cPanel to gain access to your website file directories.
- Browse to the
wp-content/plugins
directory. - Upload the extracted
custom-css-js
folder to this directory location. - Open the WP admin panel.. click the “Plugins” page.. and click “Activate” under the newly added “Simple Custom CSS and JS” plugin.
Faq
If you write multiple codes of the same type (for example: two external CSS codes), then all of them will be printed one after another
When you click the Save
button the codes will be cached in files, so there are no tedious database queries.
No, the code is printed exactly as in the editor. It is not modified/checked/validated in any way. You take the full responsability for what is written in there.
Try one of the following:
1. If you are using any caching plugin (like “W3 Total Cache” or “WP Fastest Cache”), then don’t forget to delete the cache before seing the code printed on the website.
2. Make sure the code is in Published state (not Draft or in Trash).
3. Check if the wp-content/uploads/custom-css-js
folder exists and is writable
Yes.
The CSS and JS are independent of the theme and they will persist through a theme change. This is particularly useful if you apply CSS and JS for modifying a plugin’s output.
For the moment only plain CSS is supported, but you can check out the Pro version in case you need a CSS preprocessor.
Yes. You can upload an image to your Media Library, then refer to it by its direct URL from within the CSS stylesheet. For example:
div#content {
background-image: url(‘http://example.com/wp-content/uploads/2015/12/image.jpg’);
}
Yes.
By default only the Administrator will be able to publish/edit/delete Custom Codes. On the plugin activation there is a role created called Web Designer. You can assign this role to a non-admin user in order to allow to publish/edit/delete Custom Codes. On the plugin’s Settings page there is an option to remove this role.
The URL for the linked Codes is built just like the URL for other media (from Media Library) by using the WordPress Address option found on the WP Admin -> Settings -> General page, as shown in this screenshot. If the WordPress Address has HTTPS in the url, then the Custom Codes and all the other media will have HTTPS in the url.
Reviews
Just what I was looking for
By Heath Woodward (goldeneye512) on August 18, 2025
Works perfectly. Great plugin.
Great Product, Great Support
By Zayadur (zayadur) on June 23, 2025
Very Simple and Multi-Functional
By joseeneveu on February 22, 2025
Thanks to this plugin, I was able to make modifications to parts of my own website that had been eluding me for WEEKS through other CSS plugins that I had been trying to use.
Perfect plugin, but a few improvements for easier editing would be nice.
By michalrama on January 6, 2025
This plugin is basically a must. When using a free theme, I am quite limited in editing the appearance. And some functions cannot be solved using plugins.
There are three things that I have been missing for a long time.
- Insufficient highlighting of the wrong number of brackets. It does turn red when I click on it, but it would be better if it was red permanently or turned red after saving.
- Basic ability to undo changes.
- Ability to automatically format code
However, this does not change the fact that I give it five stars.
Solid performance and a complete feature set for most use cases.
By Bjarne Oldrup (oldrup) on January 4, 2025
Simple Custom CSS and JS does exactly what it says on the box. I've been using it for many years on non-profit websites, and it has proven rock solid. Here's what I especially appreciated:
- CSS, JS, and HTML syntax highlighting.
- Code can be inline or loaded externally (and thus cached).
- Code can be loaded in the header, body, or footer.
- Code can be loaded on the front end, in the block editor and/or admin pages.
- Code can easily be enabled or disabled with a single click.
That is a lot of features for a free plugin, and I'm perfectly content with that. There is a reasonably priced premium version with advanced features like CSS preprocessors and code revisions if these are important features to you, but the free version is a great start and enough for many projects.
Impacted the permalinks
By code2be on December 9, 2024
This plugin does flush all permalinks settings on install, without confirmation of Admin, which impacted the whole permalinks settings, and required me to deactivate and reactivate multiple plugins to get their permalinks settings setup again, which is loss of time and requires a clear confirmation before doing that on install.
Excelente!
By Derley Hassen (derleybr) on October 9, 2024
Prático, funcional e sem a irritante tentativa de fazer você comprar. Uso perfeitamente sem a necessidade de complementá-lo com algum plugin dependente pago.
Нет возможности подключить внешний CSS
By fomenkoandrey on October 5, 2024
Вроде как опція EXTERNAL file есть, но указать адрес этого файла - нету возможности, только в платной версии.
ПОтому - безполезный плагин
Really useful tool
By linuxhostmaster on September 2, 2024
This is a relatively small simple plugin but recently I've found it invaluable for adding small CSS and JS snippets to the site. It's been great for adding things RocketChat and Webpushr snippets tiny css quick fix adjustments to cope with UI inconsistencies.
Limited usefulness
By Yiorgos Theo (hellas1) on August 14, 2024
css is applied to the whole site, can not be applied to specific pages or posts.
Changelog
3.51
- 09/06/2025
- Tweak: update the CodeMirror library to the 5.65.20 version
- Fix: change the loading method in the Block editor to the recommended “enqueue_block_editor_assets”
3.50
- 02/17/2025
- Fix: the editor doesn’t show up under certain conditions
- Fix: don’t show the code excerpts in the list table, if the “Extended View” option is enabled for posts or pages
3.49
- 11/13/2024
- Fix: add nuance for the “in Block editor” option for websites with WP before v6.6 and after
3.48
- 09/24/2024
- Feature: add JS/CSS custom codes to the Block editor
3.47
- 05/27/2024
- Fix: use the GMT time for showing when a custom code was published or modified
3.46
- 01/31/2024
- Tweak: update the Bootstrap and jQuery library links
- Tweak: remove the qTranslate-x warning. The qTranslate-x plugin was removed from wp.org since Aug 2021
3.45
- 10/17/2023
- Fix: enqueue the jQuery library only if there is a frontend JS custom code that requires it
3.44
- 06/07/2023
- Compatibility with the WooCommerce “custom order tables” feature
3.43
- 03/13/2023
- Fix: PHP8.1 deprecation notices
- Fix: after adding a JS/HTML custom code with empty content will show the CSS default message in the editor
3.42
- 01/17/2023
- Fix: the “LH Archived Post Status” plugin was removing the “Publish” button on the add/edit custom code page
- Feature: multiple values for the “Where in site” option