You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.6 KiB
77 lines
1.6 KiB
<?php if ( ! defined( 'WOODMART_THEME_DIR' ) ) {
|
|
exit( 'No direct script access allowed' );
|
|
}
|
|
use XTS\Options;
|
|
|
|
/**
|
|
* Custom CSS section.
|
|
*/
|
|
Options::add_field(
|
|
array(
|
|
'id' => 'custom_css',
|
|
'name' => esc_html__('Global custom CSS', 'woodmart' ),
|
|
'type' => 'editor',
|
|
'language' => 'css',
|
|
'section' => 'custom_css',
|
|
'priority' => 10,
|
|
)
|
|
);
|
|
|
|
Options::add_field(
|
|
array(
|
|
'id' => 'css_desktop',
|
|
'name' => esc_html__('Custom CSS for desktop', 'woodmart'),
|
|
'type' => 'editor',
|
|
'language' => 'css',
|
|
'section' => 'custom_css',
|
|
'priority' => 20,
|
|
|
|
)
|
|
);
|
|
|
|
Options::add_field(
|
|
array(
|
|
'id' => 'css_tablet',
|
|
'name' => esc_html__('Custom CSS for tablet', 'woodmart'),
|
|
'type' => 'editor',
|
|
'language' => 'css',
|
|
'section' => 'custom_css',
|
|
'priority' => 30,
|
|
|
|
)
|
|
);
|
|
|
|
Options::add_field(
|
|
array(
|
|
'id' => 'css_wide_mobile',
|
|
'name' => esc_html__('Custom CSS for mobile landscape', 'woodmart'),
|
|
'type' => 'editor',
|
|
'language' => 'css',
|
|
'section' => 'custom_css',
|
|
'priority' => 40,
|
|
|
|
)
|
|
);
|
|
|
|
Options::add_field(
|
|
array(
|
|
'id' => 'css_mobile',
|
|
'name' => esc_html__('Custom CSS for mobile', 'woodmart'),
|
|
'type' => 'editor',
|
|
'language' => 'css',
|
|
'section' => 'custom_css',
|
|
'priority' => 50,
|
|
|
|
)
|
|
);
|
|
|
|
Options::add_field(
|
|
array(
|
|
'id' => 'css_backend',
|
|
'name' => esc_html__( 'Custom CSS for admin dashboard', 'woodmart' ),
|
|
'type' => 'editor',
|
|
'language' => 'css',
|
|
'section' => 'custom_css',
|
|
'priority' => 60,
|
|
)
|
|
);
|
|
|