Title: Modular Custom CSS
Author: Nick Halsey
Published: <strong>Ògún  7, 2014</strong>
Last modified: Agẹmọ  19, 2026

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/modular-custom-css/assets/icon.svg?rev=977530)

# Modular Custom CSS

 Láti ọwọ́ [Nick Halsey](https://profiles.wordpress.org/celloexpressions/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/modular-custom-css.2.2.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/modular-custom-css/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/modular-custom-css/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/modular-custom-css/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/modular-custom-css/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/modular-custom-css/)

## Àpèjúwe

WordPress core provides custom CSS functionality in the customizer thatÌtumọ̀ Yorùbá:’
s specific to the current theme; you can switch themes freely with each themeÌtumọ̀
Yorùbá: ’s additional CSS remaining in place. Sometimes, you need some CSS to apply
regardless of the current theme persistently. This plugin adds a plugin CSS option
for CSS thatÌtumọ̀ Yorùbá: ’s global and persists across theme changes.

With the Customizer, your CSS is instantly live-previewed, offering the ability 
to see exactly how your site will look before you publish your changes. The plugin
CSS option is stored as an `option`. Prior to WordPress 4.7 (which introduced additional
CSS in core), theme-specific CSS was stored as a `theme_mod`, in 4.7 and newer this
is migrated to the core CSS functionality (which is theme-specific).

## Àwọn àwòrán ìbòjú

[⌊Additional CSS Section in the Customizer in WordPress 4.9.⌉⌊Additional CSS Section
in the Customizer in WordPress 4.9.⌉[

Additional CSS Section in the Customizer in WordPress 4.9.

## Ìgbéwọlẹ̀

 1. Take the easy route and install through the WordPress plugin installer, OR,
 2. Download the .zip file and upload the unzipped folder to the `/wp-content/plugins/`
    directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Go to the Customizer (Appearance -> Customize) to add custom CSS to your site.

## FAQ

### Where is the Custom CSS Stored?

Theme CSS was stored as a `theme_mod` prior to WordPress 4.7, meaning it is a theme-
specific option, part of the theme_mods_$theme option in the database. Each theme
has its own `theme_mod` for the custom CSS, so if you switch to a new theme, the
theme-specific custom CSS will be empty. When you switch back to a previously customized
theme, the CSS that you added to it will still be there. In WordPress 4.7 and newer
this plugin migrates to the core CSS functionality for theme-specific CSS, which
is stored with a custom post type.

Plugin CSS is stored as a regular `option` in the database. It is used for every
theme, so itÌtumọ̀ Yorùbá: ’s best used for things that are plugin-related or anything
else you want to persist between different themes.

### Why is WordPress 4.0 required?

The Customizer features many improvements in WordPress 4.0, including the textarea
control type that this plugin uses. WordPress 4.9 is recommended, as it includes
the new CSS editor with syntax highlighting and other features.

## Àwọn àgbéyẹ̀wò

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

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

 [estr](https://profiles.wordpress.org/estr/) Ọ̀pẹ 23, 2016

Thanks for this! It seems Modular Custom CSS is the most modern plugin that takes
advantage of WP 4.7+ features.

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

### 󠀁[Preview Yo Changes](https://wordpress.org/support/topic/preview-yo-changes/)󠁿

 [Curtis](https://profiles.wordpress.org/salsafire/) Ọwẹ́wẹ̀ 3, 2016

Thank you for your plugin development. Preview changes in customizer. So good.

 [ Ka gbogbo àwọn àgbéyẹ̀wò 6 ](https://wordpress.org/support/plugin/modular-custom-css/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“Modular Custom CSS” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe
ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ Nick Halsey ](https://profiles.wordpress.org/celloexpressions/)

[Túmọ̀ “Modular Custom CSS” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/modular-custom-css)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/modular-custom-css/), 
ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/modular-custom-css/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/modular-custom-css/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/modular-custom-css/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 2.2

 * Remove back compatibility for < WordPress 4.9.
 * Security improvements.

#### 2.1

 * Leverage the Code Editing control in WordPress 4.9 to add syntax highlighting,
   hinting, and more.
 * Add more-descriptive text to the core theme CSS control, to distinguish it from
   the plugin CSS control.
 * Add plugin textdomain to facilitate translations.

#### 2.0

 * Migrates theme CSS to the core custom CSS functionality in WordPress 4.7.
 * Adjusts the plugin CSS option to use the `edit_css` capability introduced in 
   WordPress 4.7. As a result, multisite networks will need to provide this capability
   to site administrators for them to be able to access CSS now.

#### 1.0

 * First publicly available version of the plugin.
 * Requires WordPress 4.0+.

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **2.2**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **oṣù 2 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **400+**
 *  Ẹ̀yà WordPress ** 4.9 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **7.0.6**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/modular-custom-css/)
 * Àwọn àmì
 * [css](https://yor.wordpress.org/plugins/tags/css/)[custom css](https://yor.wordpress.org/plugins/tags/custom-css/)
   [Custom Design](https://yor.wordpress.org/plugins/tags/custom-design/)[customizer](https://yor.wordpress.org/plugins/tags/customizer/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/modular-custom-css/advanced/)

## Àwọn ìbò

 5 lára àwọn ìràwọ̀ 5.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/modular-custom-css/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/modular-custom-css/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/modular-custom-css/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/modular-custom-css/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/modular-custom-css/reviews/?filter=1)

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

[Wo gbogbo àwọn àgbéyẹ̀wò](https://wordpress.org/support/plugin/modular-custom-css/reviews/)

## Àwọn Olùkópa

 *   [ Nick Halsey ](https://profiles.wordpress.org/celloexpressions/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/modular-custom-css/)