Setting Import
-
one other problem i am having is i have exported the theme settings and added it into my functions file under the ‘tools’ section of the plugin however, the rollover font displays as normal weight not bold and the rollover color on the mega menu font links is grey and the background for the flyout rollovers is light grey all styles coming from the installed plugins default settings not the settings i am importing thru the functions file- below is the outputted code for the functions file- i even tried adding extra settings for the main font hover to be set to bold and the color dropdown menu links to be white but that didnt work so i took it out- i will include a link to my site as well but when u rollover the main emnu items the bold turns to normal which is wrong and when u rollover the mega menu dropdowns it turns to grey not right
function megamenu_add_theme_default_1486497767($themes) {
$themes[“default_1486497767”] = array(
‘title’ => ‘Default’,
‘menu_item_align’ => ‘center’,
‘menu_item_background_hover_from’ => ‘rgba(255, 255, 255, 0.15)’,
‘menu_item_background_hover_to’ => ‘rgba(255, 255, 255, 0.15)’,
‘menu_item_link_height’ => ’27px’,
‘menu_item_link_weight’ => ‘bold’,
‘menu_item_link_weight_hover’ => ‘bold’,
‘panel_background_from’ => ‘rgb(233, 12, 12)’,
‘panel_background_to’ => ‘rgb(233, 12, 12)’,
‘panel_header_border_color’ => ‘#555’,
‘panel_widget_padding_left’ => ‘0’,
‘panel_widget_padding_right’ => ‘0’,
‘panel_widget_padding_top’ => ‘0’,
‘panel_widget_padding_bottom’ => ‘0’,
‘panel_font_size’ => ’14px’,
‘panel_font_color’ => ‘#fff’,
‘panel_font_family’ => ‘inherit’,
‘panel_second_level_font_color’ => ‘#fff’,
‘panel_second_level_font_color_hover’ => ‘rgb(255, 255, 255)’,
‘panel_second_level_text_transform’ => ‘uppercase’,
‘panel_second_level_font’ => ‘inherit’,
‘panel_second_level_font_size’ => ’14px’,
‘panel_second_level_font_weight’ => ‘bold’,
‘panel_second_level_font_weight_hover’ => ‘bold’,
‘panel_second_level_text_decoration’ => ‘none’,
‘panel_second_level_text_decoration_hover’ => ‘underline’,
‘panel_second_level_border_color’ => ‘#555’,
‘panel_third_level_font_color’ => ‘#666’,
‘panel_third_level_font_color_hover’ => ‘#666’,
‘panel_third_level_font’ => ‘inherit’,
‘panel_third_level_font_size’ => ’14px’,
‘flyout_width’ => ‘210px’,
‘flyout_menu_background_from’ => ‘rgb(233, 12, 12)’,
‘flyout_menu_background_to’ => ‘rgb(233, 12, 12)’,
‘flyout_link_padding_left’ => ‘0’,
‘flyout_link_padding_right’ => ‘0’,
‘flyout_link_padding_top’ => ‘0’,
‘flyout_link_padding_bottom’ => ‘0’,
‘flyout_link_weight’ => ‘bold’,
‘flyout_link_weight_hover’ => ‘bold’,
‘flyout_link_text_decoration_hover’ => ‘underline’,
‘flyout_background_from’ => ‘rgba(0, 0, 0, 0)’,
‘flyout_background_to’ => ‘rgba(0, 0, 0, 0)’,
‘flyout_background_hover_from’ => ‘rgba(0, 0, 0, 0)’,
‘flyout_background_hover_to’ => ‘rgba(0, 0, 0, 0)’,
‘flyout_link_size’ => ’14px’,
‘flyout_link_color’ => ‘rgb(255, 255, 255)’,
‘flyout_link_color_hover’ => ‘rgb(255, 255, 255)’,
‘flyout_link_family’ => ‘inherit’,
‘responsive_breakpoint’ => ‘65.499em’,
‘z_index’ => ‘9999999’,
‘resets’ => ‘on’,
‘toggle_background_from’ => ‘rgba(0, 0, 0, 0)’,
‘toggle_background_to’ => ‘rgba(0, 0, 0, 0)’,
‘toggle_font_color’ => ‘#ffffff’,
‘mobile_menu_item_height’ => ’60px’,
‘mobile_background_from’ => ‘rgba(0, 0, 0, 0)’,
‘mobile_background_to’ => ‘rgba(0, 0, 0, 0)’,
‘custom_css’ => ‘.navicon {display:none}’,
);
return $themes;
}
add_filter(“megamenu_themes”, “megamenu_add_theme_default_1486497767”);
- The topic ‘Setting Import’ is closed to new replies.