Title: Simple Custom CSS Plugin
Author: John Regan
Published: <strong>2013 年 8 月 6 日</strong>
Last modified: 2025 年 3 月 11 日

---

搜索插件

![](https://ps.w.org/simple-custom-css/assets/banner-772x250.jpg?rev=1819543)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/simple-custom-css/assets/icon-256x256.jpg?rev=1819543)

# Simple Custom CSS Plugin

 作者：[John Regan](https://profiles.wordpress.org/johnregan3/)

[下载](https://downloads.wordpress.org/plugin/simple-custom-css.zip)

 * [详情](https://cn.wordpress.org/plugins/simple-custom-css/#description)
 * [评价](https://cn.wordpress.org/plugins/simple-custom-css/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/simple-custom-css/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/simple-custom-css/#developers)

 [支持](https://wordpress.org/support/plugin/simple-custom-css/)

## 描述

Add Custom CSS to your WordPress site without any hassles.

An easy-to-use WordPress Plugin to add custom CSS styles that override Plugin and
Theme default styles. This plugin is designed to meet the needs of administrators
who would like to add their own CSS to their WordPress website. Styles created with
this plugin will render even if the theme is changed.

**New in Version 4.0.7**

 * Tested for compatibility with WP 6.7.2
 * Tested for compatibility with PHP 8.4

### Features

 * AMP Support
 * Customizer Control (live preview)
 * Useful Code Syntax Highlighter
 * Code linting (error checking)
 * No configuration needed
 * Simple interface built on native WordPress UI
 * Virtually no impact on site performance
 * No complicated database queries
 * Thorough documentation
 * Allows Administrator access on WP Networks (Multisite)

### Usage

 1. Navigate to Appearance > Custom CSS in the Admin Menu
 2. Enter in valid CSS styles
 3. Click “Update Custom CSS”
 4. View your changes in the Front End of your website

### Help

[Simple Custom CSS Wiki](https://github.com/johnregan3/simple-custom-css/wiki)

[Support Forum](https://wordpress.org/support/plugin/simple-custom-css)

## 屏幕截图

 * [[
 * [[

## 安装

Install Simple Custom CSS just as you would any other WP Plugin:

 1. [Download Simple Custom CSS](https://wordpress.org/plugins/simple-custom-css/) 
    from WordPress.org.
 2. Unzip the .zip file.
 3. Upload the Plugin folder (simple-custom-css/) to the wp-content/plugins folder.
 4. Go to [Plugins Admin Panel](https://codex.wordpress.org/Administration_Panels#Plugins)
    and find the newly uploaded Plugin, “Simple Custom CSS” in the list.
 5. Click “Activate Plugin.”

[More help installing Plugins](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins)

## 评价

![](https://secure.gravatar.com/avatar/623b1f97e239861c1338c704fe44a10ad30f88cd9aba5e7a52452f74a1b15daf?
s=60&d=retro&r=g)

### 󠀁[Blocks Media view](https://wordpress.org/support/topic/blocks-media-view/)󠁿

 [Bub](https://profiles.wordpress.org/jdenning47/) 2026 年 1 月 28 日

This plugin block me from viewing my media files when I am, for instance, trying
to add an image block to a page. Except for this I think it is an excellent plugin.
My work-around will be to disable this plugin while adding any image media and re-
enabling it when I am done.

![](https://secure.gravatar.com/avatar/b9d25b70a96be0a0e528100070ea463befa064c1dc2abb9544e5fefacdc54c3e?
s=60&d=retro&r=g)

### 󠀁[So simple yet works perfect!](https://wordpress.org/support/topic/so-simple-yet-works-perfect/)󠁿

 [cengoguven](https://profiles.wordpress.org/cengoguven/) 2026 年 1 月 22 日

İt’s so easy to use and does the job as described.

![](https://secure.gravatar.com/avatar/fb3be8ee6e8288f4ab15fcfd6043b6fc7519d3e3d0cf3ce96b261ce4f52d875b?
s=60&d=retro&r=g)

### 󠀁[Useful but doesn’t know modern properties](https://wordpress.org/support/topic/useful-but-doesnt-know-modern-properties/)󠁿

 [ellissei](https://profiles.wordpress.org/eliseimiron/) 2025 年 12 月 8 日

Simple and useful, but modern CSS properties like clamp(), repeat(), margin-inline,
or less common units like dvh throw syntax errors. For beginners, this can be really
confusing.

![](https://secure.gravatar.com/avatar/f75a1e40c086415cb1bd096e904ce2aa7748dbf9dee559685c823c6d4738af2c?
s=60&d=retro&r=g)

### 󠀁[Fantastic!! But abandoned??](https://wordpress.org/support/topic/fantastic-but-abandoned/)󠁿

 [sintow](https://profiles.wordpress.org/sintow/) 2024 年 11 月 23 日

Have been relying on this plugin for several years. The problem is that it appears
to have been abandoned, leading to warnings on popular security sites and plugins.
It would be so great to have it updated again!

![](https://secure.gravatar.com/avatar/3a1c0ad26276d7176c5748366162d2e3402ef74e96187d1a8b981571c784812f?
s=60&d=retro&r=g)

### 󠀁[Works out of the box](https://wordpress.org/support/topic/works-out-of-the-box-150/)󠁿

 [ILIAS CHATZISTOGIANNIS](https://profiles.wordpress.org/ioulios92/) 2024 年 2 月
2 日

No settings needed for this plug in. It just works. Great choice for customizing
footers and headers.

![](https://secure.gravatar.com/avatar/7ad27b2154af2c97d92fb4c78a5b917f68c380b6995f4766c72af70c882b9a4d?
s=60&d=retro&r=g)

### 󠀁[Great relief!](https://wordpress.org/support/topic/great-relief-2/)󠁿

 [Maik_F](https://profiles.wordpress.org/maik_f/) 2023 年 10 月 1 日

After many lost hours this finally solved my problems.

 [ 阅读所有159条评价 ](https://wordpress.org/support/plugin/simple-custom-css/reviews/)

## 贡献者及开发者

「Simple Custom CSS Plugin」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ John Regan ](https://profiles.wordpress.org/johnregan3/)

「Simple Custom CSS Plugin」插件已被翻译至 31 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/simple-custom-css/contributors)
为本插件所做的贡献。

[帮助将「Simple Custom CSS Plugin」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/simple-custom-css)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/simple-custom-css/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/simple-custom-css/)，或通过[RSS](https://plugins.trac.wordpress.org/log/simple-custom-css/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/simple-custom-css/)。

## 更新日志

**_4.0.7_**
 * Tested for compatibility with WP 6.7.2 * Tested for compatibility
with PHP 8.4

**_4.0.6_**
 * Remove Customizer features when using a Block Theme. Props @tricarte*
Tested for compatibility with WP version 6.1 * Tested for compatibility with PHP
8.1

**_4.0.5_**
 * AMP Support. Thanks, @westonruter! * Tested for compatibility with
WP version 5.8.1

**_4.0.4_**
 * Tested for compatibility with WP version 5.4.1

**_4.0.3_**
 * Tested for compatibility with WP version 5.3

**_4.0.2_**
 * Use WP’s CodeMirror on settings page * Tested for compatibility with
WP version 5.1.1 * Tested for compatibility with PHP version 7.2

**_4.0.1_**
 * Fixed bug with broken editor styles on older versions of WP.

**_4.0_**
 * New Customizer Control (still compatible with older WP versions) * 
Added colors and linting to the Settings Page * Updated hooks to replace hyphens
with underscores * Tested for WPCS compliance * Tested for compatibility with WP
version 4.9.4

**_3.3_**
 * Added support for https:// * Added base support for Danish language.
Thanks @ThomasDK81! * Tested for compatibility with WP version 4.4.1

**_3.2_**
 * Tested for compatibility with WP 4.1 * Improved architecture to reduce
the number of queries. Thanks @dannyvankooten!

**_3.0.1_**
 * Tested for compatibility with WP 3.9.1 * Sidebar “Update CSS” button
added

**_3.0_**
 * Added Sytnax Highlighter * Removed Need for “Allow Quotation Marks”
checkbox * Removed plugin attribution text * Minor styling changes. Thanks @kucrut!

**_2.5_**
 * Fixed issue with WP installs in subdirectories. Thanks @lopo! * Tested
for compatibility with WP 3.8.1

**_2.0_**
 * Added option to allow Double Quotes in CSS * Tested for compatibility
with WP 3.8

**_1.2.1_**
 * Tested for compatibility with WP 3.7.1 * Code update to conform fully
with WP coding standards

**_1.2_**
 * Give Admins (not just Super Admins) access to the plugin * Correcting
Credit error * Minor Bugfixes

**_1.1.1_**
 * Allowing the “>” direct child selector.

**_1.1_**
 * Removed unneeded hidden input * Added Action Hooks * Added cleanup 
on deletion * Added author attribution option * Added a more elegant method for 
adding CSS to the page:

Instead of using print_scripts() to insert the CSS directly into the HEAD, CSS styles
are generated within simple-custom-css.php, then added via wp_enqueue_scripts, so
now it will appear in the HEAD as:

    ```
        <link rel="stylesheet" href="http://yoursite.com/?sccss=1" />
    ```

…even though no css file is actually generated.

**_1.0_**
 * Initial Release

## 额外信息

 *  版本 **4.0.7**
 *  最后更新：**1 年前**
 *  活跃安装数量 **100,000+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  语言
 * [Arabic](https://ar.wordpress.org/plugins/simple-custom-css/) 、 [Catalan](https://ca.wordpress.org/plugins/simple-custom-css/)、
   [Chinese (China)](https://cn.wordpress.org/plugins/simple-custom-css/) 、 [Croatian](https://hr.wordpress.org/plugins/simple-custom-css/)、
   [Czech](https://cs.wordpress.org/plugins/simple-custom-css/) 、 [Danish](https://da.wordpress.org/plugins/simple-custom-css/)、
   [Dutch](https://nl.wordpress.org/plugins/simple-custom-css/) 、 [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/simple-custom-css/)、
   [English (Australia)](https://en-au.wordpress.org/plugins/simple-custom-css/)、
   [English (Canada)](https://en-ca.wordpress.org/plugins/simple-custom-css/) 、
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/simple-custom-css/)、
   [English (South Africa)](https://en-za.wordpress.org/plugins/simple-custom-css/)、
   [English (UK)](https://en-gb.wordpress.org/plugins/simple-custom-css/) 、 [English (US)](https://wordpress.org/plugins/simple-custom-css/)、
   [Finnish](https://fi.wordpress.org/plugins/simple-custom-css/) 、 [French (Canada)](https://fr-ca.wordpress.org/plugins/simple-custom-css/)、
   [French (France)](https://fr.wordpress.org/plugins/simple-custom-css/) 、 [Galician](https://gl.wordpress.org/plugins/simple-custom-css/)、
   [German](https://de.wordpress.org/plugins/simple-custom-css/) 、 [Greek](https://el.wordpress.org/plugins/simple-custom-css/)、
   [Hebrew](https://he.wordpress.org/plugins/simple-custom-css/) 、 [Japanese](https://ja.wordpress.org/plugins/simple-custom-css/)、
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/simple-custom-css/) 、
   [Russian](https://ru.wordpress.org/plugins/simple-custom-css/) 、 [Slovak](https://sk.wordpress.org/plugins/simple-custom-css/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/simple-custom-css/) 、 [Spanish (Spain)](https://es.wordpress.org/plugins/simple-custom-css/)、
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/simple-custom-css/) 、
   [Swedish](https://sv.wordpress.org/plugins/simple-custom-css/) 、 [Ukrainian](https://uk.wordpress.org/plugins/simple-custom-css/)、
   [Urdu](https://ur.wordpress.org/plugins/simple-custom-css/) 和 [Vietnamese](https://vi.wordpress.org/plugins/simple-custom-css/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/simple-custom-css)
 * 标签
 * [code](https://cn.wordpress.org/plugins/tags/code/)[css](https://cn.wordpress.org/plugins/tags/css/)
   [custom](https://cn.wordpress.org/plugins/tags/custom/)[custom css](https://cn.wordpress.org/plugins/tags/custom-css/)
   [styles](https://cn.wordpress.org/plugins/tags/styles/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-custom-css/advanced/)

## 评级

 4.7 星（最高 5 星）。

 *  [  143 条 5 星评价     ](https://wordpress.org/support/plugin/simple-custom-css/reviews/?filter=5)
 *  [  7 条 4 星评价     ](https://wordpress.org/support/plugin/simple-custom-css/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/simple-custom-css/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/simple-custom-css/reviews/?filter=2)
 *  [  8 条 1 星评价     ](https://wordpress.org/support/plugin/simple-custom-css/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/simple-custom-css/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/simple-custom-css/reviews/)

## 贡献者

 *   [ John Regan ](https://profiles.wordpress.org/johnregan3/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/simple-custom-css/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BAG2XC69ZYADQ)