Title: Simple CSS
Author: Tom
Published: <strong>2015 年 11 月 21 日</strong>
Last modified: 2025 年 9 月 15 日

---

搜索插件

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

![](https://ps.w.org/simple-css/assets/icon-128x128.png?rev=2332555)

# Simple CSS

 作者：[Tom](https://profiles.wordpress.org/edge22/)

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

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

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

## 描述

Need to add some custom CSS to your site? Simple CSS gives you an awesome admin 
editor and a live preview editor in the Customizer so you can easily add your CSS.

Want your CSS to only apply on a specific page or post? Simple CSS adds a metabox
which allows you to do just that.

Check out GeneratePress, our awesome WordPress theme! (https://wordpress.org/themes/
generatepress)

#### Features include:

 * Full featured admin CSS editor
 * Dark and light editor themes
 * CSS editor in the Customizer so you can live preview your changes
 * Metabox for page/post specific CSS

## 屏幕截图

 * [[
 * The dark theme of the CSS editor.
 * [[
 * The light theme of the CSS editor.
 * [[
 * The CSS editor in the Customizer.
 * [[
 * The CSS editor metabox.

## 安装

There’s two ways to install Simple CSS.

 1. Go to “Plugins > Add New” in your Dashboard and search for: Simple CSS
 2. Download the .zip from WordPress.org, and upload the folder to the `/wp-content/
    plugins/` directory via FTP.

In most cases, #1 will work fine and is way easier.

## 常见问题

### How do I add CSS using your plugin?

 * Make sure Simple CSS is activated.
 * Navigate to “Appearance > Simple CSS” and add your CSS to the editor.

### How do I add CSS using the Customizer?

 * Make sure Simple CSS is activated.
 * Navigation to “Appearance > Customize” and open the “Simple CSS” section.

### How do I change the editor color?

 * In “Appearance > Simple CSS”, change the “Dark” option below the “Save CSS” button
   to “Light”.

### How do I add CSS that applies only to one page?

 * Navigate to your page or post in the Dashboard and look for the “Simple CSS” 
   metabox.

## 评价

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

### 󠀁[This is a really awesome plugin, and will remain awesome updates or not](https://wordpress.org/support/topic/this-is-a-really-awesome-plugin-and-will-remain-awesome-updates-or-not/)󠁿

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

Easy to use and gives you the access to behind the scenes places you need (like 
css on this page, for this table, fast and effectively, without digging through 
mountains of native wp and plugin stylesheets. It has been a big help.

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

### 󠀁[I want to love it more](https://wordpress.org/support/topic/i-want-to-love-it-more/)󠁿

 [Paul Bradley](https://profiles.wordpress.org/psb/) 2023 年 12 月 16 日

This seems like a great idea, and it’s super to finally be clear of the small Additional
CSS panel in native wordpress. What’s making me unsure if I should continue are 
2 things: 1 – when you press Save, it shoots you back to the top of the CSS file.
If you wanted to check and re-edit a bit you were working on, you’ve got to find
it again. 2 – no code hints to help complete as you type. Both these things are 
present on the Additional CSS panel but not here. Hope they can introduce!

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

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-8819/)󠁿

 [ws24](https://profiles.wordpress.org/ws24/) 2023 年 9 月 23 日

By far the best plugin to add custom css, I have been using it for years now and
in many websites.

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

### 󠀁[Awesome plugin to give non admins CSS access](https://wordpress.org/support/topic/awesome-plugin-to-give-non-admins-css-access/)󠁿

 [thessnake03](https://profiles.wordpress.org/thessnake03/) 2023 年 4 月 11 日

great solution to give certain users CSS access without giving them too much access

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

### 󠀁[Please update](https://wordpress.org/support/topic/please-update-128/)󠁿

 [itsmeagh](https://profiles.wordpress.org/itsmeagh/) 2023 年 1 月 18 日

Please update is amazing plugin.

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

### 󠀁[Brilliant – shaved 75% off my page load time](https://wordpress.org/support/topic/brilliant-shaved-1-1-second-off-my-page-load/)󠁿

 [Keirwatson](https://profiles.wordpress.org/keirwatson/) 2021 年 2 月 9 日

I had been struggling with page speed but could see in GT Metrix that custom CSS(
Jetpack) was taking over 1 second to load. Copied it over to Simple CSS and page
load dropped from 3.3 seconds to 0.8s! That’s a 75% reduction – fantastic!!! [Also,
I love that I can drop a little bit of CSS into the meta box for some post-specific
tweaks – so cool, saves CSS bloat for rarely used styling]

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

## 贡献者及开发者

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

贡献者

 *   [ Tom ](https://profiles.wordpress.org/edge22/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.1

 * Fix PHP notice when Simple CSS hasn’t been saved yet

#### 1.1

 * Fix meta box saving issue

#### 1.0

 * Show metabox only on public post types
 * Add live preview to Customizer
 * Code cleanup
 * Better sanitizing/validation

#### 0.4

 * Use browser search instead of CodeMirror dialog search
 * Don’t show GeneratePress metabox if it’s already activated
 * Make CSS box full height

#### 0.3

 * Add CSS metabox to add CSS on specific pages and posts
 * Adjust styling of dark theme
 * Add tips to Simple CSS screen

#### 0.2

 * Remove extra whitespace from CSS output
 * Remove spellcheck from Customizer input
 * Allow > characters in the CSS
 * Add find (ctrl + f) functionality

#### 0.1

 * Initial release

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**9 月前**
 *  活跃安装数量 **80,000+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-css/)
 * 标签
 * [css](https://cn.wordpress.org/plugins/tags/css/)[custom css](https://cn.wordpress.org/plugins/tags/custom-css/)
   [simple css](https://cn.wordpress.org/plugins/tags/simple-css/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-css/advanced/)

## 评级

 4.9 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Tom ](https://profiles.wordpress.org/edge22/)

## 支持

最近两个月解决的问题：

     总计 1，已解决 0

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

## 捐助

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

 [ 捐助此插件 ](https://generatepress.com/ongoing-development)