- Timestamp:
- 11/11/2019 12:27:21 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/inc/custom-css.php
r46613 r46701 130 130 // Background color. 131 131 if ( $background && $background !== $background_default ) { 132 twentytwenty_generate_css( '.editor-styles-wrapper', 'background', '#' . $background ); 132 twentytwenty_generate_css( '.editor-styles-wrapper', 'background-color', '#' . $background ); 133 twentytwenty_generate_css( '.has-background.has-primary-background-color:not(.has-text-color),.has-background.has-primary-background-color *:not(.has-text-color),.has-background.has-accent-background-color:not(.has-text-color),.has-background.has-accent-background-color *:not(.has-text-color)', 'color', '#' . $background ); 133 134 } 134 135 … … 165 166 // Background color. 166 167 if ( $background && $background !== $background_default ) { 167 twentytwenty_generate_css( 'body#tinymce.wp-editor.content', 'background ', '#' . $background );168 twentytwenty_generate_css( 'body#tinymce.wp-editor.content', 'background-color', '#' . $background ); 168 169 } 169 170
Note: See TracChangeset
for help on using the changeset viewer.