Title: CSS Theme Override
Author: John Cummings
Published: <strong>2014 年 2 月 27 日</strong>
Last modified: 2014 年 9 月 8 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/css-theme-override.svg)

# CSS Theme Override

 作者：[John Cummings](https://profiles.wordpress.org/jcummings1974/)

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

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

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

## 描述

If you’ve ever wanted to control how a particular part of your page or posts looks
without having to modify the theme files or stylesheets,
 this is a simple plugin
that allows you to do that.

Once installed and activated, you’ll have a new settings panel in the WordPress 
admin that will provide you with a text area block
 where you can include any styling
you’d like to use, and a second input field that allows you to insert a comma delimited
list of page or post IDs to apply these styles to.

Alternatively, you can enter ‘ALL’, and have your styles applied on every page/post.

**Bug Reports or Feature Requests**
 https://trello.com/b/9Bio6kHl

**Follow me on Twitter**
 https://twitter.com/jcummings1974

## 安装

 1. Upload the plugin to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Visit the `CSS Override` section of the settings menu.
 4. Enter the id or class style that you want to use as an override, without the style
    tags.
 5. Choose a specific page/post ID, or enter ‘ALL’, and save.
 6. Visit your page in the browser to view your style override in action.

## 常见问题

  What restrictions are there on the styling you can add?

None that I can think of.

  Why isn’t the styling showing up?

Make sure that when you enter your styles in the options panel, that you haven’t
included the style tags, which the plugin adds for you.
 Make sure that you clear/
update any caching plugin that you may be using. If you have doubts as to whether
your style is being injected in to the page, view the source of your page and look
for the css you’ve supplied in the head section of the HTML for that page.

## 评价

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

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

 [](https://profiles.wordpress.org/sigma80/) 2016 年 9 月 3 日

Wonderful! It was just the plugin I was looking for. Simply to use and powerful!

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

### 󠀁[it solved a big issue in 5 minutes!](https://wordpress.org/support/topic/it-solved-a-big-issue-in-5-minutes/)󠁿

 [noirfienga](https://profiles.wordpress.org/noirfienga/) 2016 年 9 月 3 日

I just wanted to delete the background image only from the front page. Installed,
wrote down the new css, set the front page id only for the override. DONE! (with
no test to achieve the best results: it simply worked immediately!)

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

## 贡献者及开发者

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

贡献者

 *   [ John Cummings ](https://profiles.wordpress.org/jcummings1974/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.2

 * WordPress 4.0 compatibility release

#### 1.1.1

 * Improved instructions in the settings panel
 * Clarified the “Enter CSS Style” error in the admin when incorrect text is entered
   in the form field.
 * Appended an !important to the custom class defined to insure that style is applied.

#### 1.1

 * Added the ability to use the ‘ALL’ page id to have the changes apply to all pages/
   posts

#### 1.0

 * Initial release

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**12 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **4.0.38**
 *  语言
 * [English (US)](https://wordpress.org/plugins/css-theme-override/)
 * 标签
 * [css](https://cn.wordpress.org/plugins/tags/css/)[styles](https://cn.wordpress.org/plugins/tags/styles/)
   [stylesheet](https://cn.wordpress.org/plugins/tags/stylesheet/)[theme](https://cn.wordpress.org/plugins/tags/theme/)
 *  [高级视图](https://cn.wordpress.org/plugins/css-theme-override/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ John Cummings ](https://profiles.wordpress.org/jcummings1974/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=ud1KMFDaos3i-N3a6-LEQZrU9LBGJ-ObM6eY4LhHUz7cNKCLzSJyy_yZBMu&dispatch=5885d80a13c0db1f8e263663d3faee8d6cdb53fcfca2b5941339e576d7e42259)