Submit
Path:
~
/
home
/
getwphos
/
public_html
/
ppine
/
wp-content
/
themes
/
takeout
/
skins
/
default
/
plugins
/
gutenberg
/
File Content:
gutenberg-style.php
<?php // Add plugin-specific colors and fonts to the custom CSS if ( ! function_exists( 'takeout_gutenberg_get_css' ) ) { add_filter( 'takeout_filter_get_css', 'takeout_gutenberg_get_css', 10, 2 ); function takeout_gutenberg_get_css( $css, $args ) { if ( isset( $css['fonts'] ) && isset( $args['fonts'] ) ) { $fonts = $args['fonts']; $fonts['p_font-family!'] = str_replace(';', ' !important;', $fonts['p_font-family']); $fonts['p_font-size!'] = str_replace(';', ' !important;', $fonts['p_font-size']); $css['fonts'] .= <<<CSS body.edit-post-visual-editor { {$fonts['p_font-family!']} {$fonts['p_font-size']} {$fonts['p_font-weight']} {$fonts['p_font-style']} {$fonts['p_line-height']} {$fonts['p_text-decoration']} {$fonts['p_text-transform']} {$fonts['p_letter-spacing']} } .editor-post-title__block .editor-post-title__input { {$fonts['h1_font-family']} {$fonts['h1_font-size']} {$fonts['h1_font-weight']} {$fonts['h1_font-style']} } .block-editor-block-list__block { {$fonts['p_margin-top']} {$fonts['p_margin-bottom']} } CSS; } return $css; } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
gutenberg-preview.css
3387881 bytes
0644
gutenberg-responsive.css
0 bytes
0644
gutenberg-style.php
1116 bytes
0644
gutenberg.css
30 bytes
0644
N4ST4R_ID | Naxtarrr