mirror of
https://github.com/10h30/full-screen-morphing-search.git
synced 2026-07-11 18:46:04 +09:00
Added ability to change input text color
This commit is contained in:
@@ -112,6 +112,26 @@ if ( class_exists( 'Kirki' ) ) {
|
||||
),
|
||||
)
|
||||
);
|
||||
// FSMS Input Text Color.
|
||||
Kirki::add_field(
|
||||
'fsmsp_kirki',
|
||||
array(
|
||||
'type' => 'color-alpha',
|
||||
'settings' => 'fsmsp_input_text_color',
|
||||
'label' => __( 'FSMS Input Text Color', 'full-screen-morphing-search' ),
|
||||
'description' => esc_attr__( 'Change the input text color', 'full-screen-morphing-search' ),
|
||||
'section' => 'fsmsp_color',
|
||||
'default' => '#ec5a62',
|
||||
'transport' => 'auto',
|
||||
'output' => array(
|
||||
array(
|
||||
'element' => '.morphsearch-input',
|
||||
'property' => 'color',
|
||||
'suffix' => ' !important',
|
||||
),
|
||||
),
|
||||
)
|
||||
);
|
||||
// FSMS Magnifier Submit Color.
|
||||
Kirki::add_field(
|
||||
'fsmsp_kirki',
|
||||
|
||||
Reference in New Issue
Block a user