| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/themes/glaza/theme_options/ |
Upload File : |
<?php
/**-------------------------------------------------------------------------------------------------------------------------
* @return array
* color config
*/
if ( ! function_exists( 'glaza_theme_options_color' ) ) {
function glaza_theme_options_color() {
return array(
'id' => 'glaza_config_section_color',
'title' => esc_html__( 'Color Options', 'glaza' ),
'desc' => esc_html__( 'select color options for your website.', 'glaza' ),
'icon' => 'el el-tint',
'fields' => array(
array(
'id' => 'section_start_global_color',
'type' => 'section',
'class' => 'ruby-section-start',
'title' => esc_html__( 'Global Color Options', 'glaza' ),
'indent' => true
),
array(
'id' => 'global_color',
'title' => esc_html__( 'Global Color', 'glaza' ),
'subtitle' => esc_html__( 'select a global color, It will be used for all links, menu, category overlays, main page and many contrasting elements. leave blank if you want set as default (#ff3174).', 'glaza' ),
'type' => 'color',
'transparent' => false,
'validate' => 'color',
),
array(
'id' => 'hyperlink_color',
'title' => esc_html__( 'Hyperlink Color', 'glaza' ),
'subtitle' => esc_html__( 'select a color value for the hyperlink, this option will override on default theme color, Leave blank if you want to set default (#111111).', 'glaza' ),
'type' => 'color',
'transparent' => false,
'validate' => 'color',
),
array(
'id' => 'widget_title_color',
'title' => esc_html__( 'Full Width/Content Widget Header Color', 'glaza' ),
'subtitle' => esc_html__( 'select a color value for the widget title in the full width and content sections, Leave blank if you want to set default(#111111).', 'glaza' ),
'type' => 'color',
'transparent' => false,
'validate' => 'color',
),
array(
'id' => 'widget_border_color',
'title' => esc_html__( 'Sidebar Widget Border Color', 'glaza' ),
'subtitle' => esc_html__( 'select a color for widget border in the sidebar, Leave blank if you want to set default(#000000).', 'glaza' ),
'type' => 'color',
'transparent' => false,
'validate' => 'color',
),
array(
'id' => 'section_end_global_color',
'type' => 'section',
'class' => 'ruby-section-end',
'indent' => false
),
array(
'id' => 'section_start_header_navbar_color',
'type' => 'section',
'class' => 'ruby-section-start',
'title' => esc_html__( 'Navigation Color Options', 'glaza' ),
'indent' => true
),
array(
'id' => 'navbar_color_bg',
'title' => esc_html__( 'Navigation - Background Color', 'glaza' ),
'subtitle' => esc_html__( 'select a background color for the main navigation. Leave blank if you want to set as default (#ffffff).', 'glaza' ),
'type' => 'color',
'transparent' => false,
'validate' => 'color',
),
array(
'id' => 'navbar_color',
'title' => esc_html__( 'Navigation - Text Color', 'glaza' ),
'subtitle' => esc_html__( 'select a color value for main navigation text. Leave blank if you want to set as default (#111111).', 'glaza' ),
'type' => 'color',
'transparent' => false,
'validate' => 'color',
),
array(
'id' => 'navbar_color_hover',
'title' => esc_html__( 'Navigation - Hover Color', 'glaza' ),
'subtitle' => esc_html__( 'select a color when hovering on main navigation text. Leave blank if you want to set as default (#ff3174).', 'glaza' ),
'type' => 'color',
'transparent' => false,
'validate' => 'color',
),
array(
'id' => 'navbar_color_bg_sub',
'title' => esc_html__( 'Navigation - Submenu Background Color', 'glaza' ),
'subtitle' => esc_html__( 'select a background color for sub menu items of the main navigation. Leave blank if you want to set as default (#000000).', 'glaza' ),
'type' => 'color',
'transparent' => false,
'validate' => 'color',
),
array(
'id' => 'navbar_color_sub',
'title' => esc_html__( 'Navigation - Submenu Text Color', 'glaza' ),
'subtitle' => esc_html__( 'select a color value for submenu text. Leave blank if you want to set as default (#ffffff).', 'glaza' ),
'type' => 'color',
'transparent' => false,
'validate' => 'color',
),
array(
'id' => 'navbar_color_hover_sub',
'title' => esc_html__( 'Navigation - Submenu Background Hover Color', 'glaza' ),
'subtitle' => esc_html__( 'select a background color when hovering on submmenu text. Please leave blank if you want to set as default (#ff3174).', 'glaza' ),
'type' => 'color',
'transparent' => false,
'validate' => 'color',
),
array(
'id' => 'navbar_mega_text_style',
'type' => 'image_select',
'title' => esc_html__( 'Category Mega Menu Text', 'glaza' ),
'subtitle' => esc_html__( 'select a style for category mega menu post to suit with your background settings.', 'glaza' ),
'options' => glaza_config_text_style(),
'default' => 'light'
),
array(
'id' => 'section_end_header_navbar_color',
'type' => 'section',
'class' => 'ruby-section-end no-border',
'indent' => false
)
)
);
}
}