Last active
February 4, 2021 21:11
-
-
Save Zodiac1978/ca064f748b72a69008dbf91cb1627846 to your computer and use it in GitHub Desktop.
Override editor colors in (twenty eleven) child theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Theme Name: Twenty Eleven | |
Description: Custom colors. | |
*/ | |
body { | |
color: #fff; | |
background: #ddd; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Registers an editor stylesheet for the theme. | |
*/ | |
function wpdocs_theme_add_editor_styles() { | |
add_editor_style( 'custom-editor-style.css' ); | |
} | |
add_action( 'after_setup_theme', 'wpdocs_theme_add_editor_styles' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment