Forum Replies Created
-
AuthorPosts
-
Hey!
Try adding this code to the Quick CSS:
.sidebar .widget_nav_menu ul:first-child>.current-menu-item, .sidebar .widget_nav_menu ul:first-child>.current_page_item, .sidebar .widget_nav_menu ul:first-child>.current-menu-ancestor { color: white; } #top .sidebar .widget_nav_menu li a{ color: inherit; } .sidebar_right > .container{ padding-right: 0; } .page-id-47 .form_element .button { color: white !important; } .page-id-47 .form_element .button:hover{ background: lime !important; }Modify as needed.
Cheers!
JosueThanks for sharing that information @dbarta :)
Regards,
JosueOctober 15, 2015 at 11:01 am in reply to: Ability to Select Header Position on Page – Overwrite Theme Settings #519112You are welcome, thanks for sharing your tips too :)
Regards,
JosueOctober 15, 2015 at 12:11 am in reply to: Ability to Select Header Position on Page – Overwrite Theme Settings #518990Hey Mike!
Add this to your child theme functions.php:
add_filter('avf_builder_elements', 'register_meta_elements', 10, 1); function register_meta_elements($avf_builder_elements) { $avf_builder_elements[] = array( "slug" => "layout", "name" => __("Header Position",'avia_framework'), "id" => "header_position", "desc" => "Select the position of the header", "type" => "select", "std" => "", "class" => "avia-style", "subtype" => array( __("Default",'avia_framework') => '', __('Top Header','avia_framework') =>'header_top', __('Sidebar Header (Left)','avia_framework') =>'header_left header_sidebar', __('Sidebar Header (Right)','avia_framework') =>'header_right header_sidebar', ) ); return $avf_builder_elements; } if(!function_exists('avia_header_setting')) { function avia_header_setting($single_val = false) { global $avia_config; if(isset($avia_config['header_settings']) && $single_val && isset($avia_config['header_settings'][$single_val])) return $avia_config['header_settings'][$single_val]; if(isset($avia_config['header_settings']) && !$single_val) return $avia_config['header_settings']; //return cached header setting if available $defaults = array( 'header_position' => 'header_top', 'header_layout'=>'logo_left menu_right', 'header_size'=>'slim', 'header_custom_size'=>'', 'header_sticky'=>'header_sticky', 'header_shrinking'=>'header_shrinking', 'header_title_bar'=>'', 'header_social'=>'', 'header_unstick_top' =>'', 'header_secondary_menu'=>'', 'header_stretch'=>'', 'header_custom_size'=>'', 'header_phone_active'=>'', 'header_replacement_logo'=>'', 'header_replacement_menu'=>'', 'header_mobile_behavior' => '', 'header_searchicon' => true, 'header_mobile_activation' => 'mobile_menu_phone', 'phone'=>'', 'sidebarmenu_sticky' => 'conditional_sticky', 'layout_align_content' => 'content_align_center', 'sidebarmenu_widgets' => '', 'sidebarmenu_social' => 'disabled', 'header_menu_border' => '', 'header_style' => '' ); $settings = avia_get_option(); //overwrite with custom fields if they are set $post_id = avia_get_the_id(); if($post_id && is_singular()) { $custom_fields = get_post_custom($post_id); foreach($defaults as $key =>$default) { if(!empty($custom_fields[$key]) && !empty($custom_fields[$key][0]) ) { $settings[$key] = $custom_fields[$key][0]; } } //check if header transparency is set to true $transparency = post_password_required() ? false : get_post_meta($post_id, 'header_transparency', true); if(get_post_meta($post_id, 'header_position', true)){ $header['header_position'] = get_post_meta($post_id, 'header_position', true); } } $header = shortcode_atts($defaults, $settings); $header['header_scroll_offset'] = avia_get_header_scroll_offset($header); if($header['header_position'] != "header_top") return avia_header_setting_sidebar($header, $single_val); //set header transparency $header['header_transparency'] = ""; if(!empty($transparency)) $header['header_transparency'] = 'header_transparency'; if(!empty($transparency) && strpos($transparency, 'glass')) $header['header_transparency'] .= ' header_glassy'; if(!empty($transparency) && strpos($transparency, 'hidden')) $header['disabled'] = true; if(!empty($transparency) && strpos($transparency, 'scrolldown')) { $header['header_transparency'] .= ' header_scrolldown'; $header['header_sticky'] = 'header_sticky'; } //deactivate title bar if header is transparent if(!empty($transparency)) $header['header_title_bar'] = 'hidden_title_bar'; //sticky and shrinking are tied together if($header['header_sticky'] == 'disabled') { $header['header_shrinking'] = 'disabled'; $header['header_scroll_offset'] = 0; } //if the custom height is less than 70 shrinking doesnt really work if($header['header_size'] == 'custom' && (int) $header['header_custom_size'] < 65) $header['header_shrinking'] = 'disabled'; //create a header class so we can style properly $header_class_var = array( 'header_position', 'header_layout', 'header_size', 'header_sticky', 'header_shrinking', 'header_stretch', 'header_mobile_activation', 'header_transparency', 'header_searchicon', 'header_unstick_top', 'header_menu_border', 'header_style' ); $header['header_class'] = ""; foreach($header_class_var as $class_name) { if(!empty($header[$class_name])) { if($header[$class_name] == "disabled") $header[$class_name] = $class_name."_disabled"; $header['header_class'] .= " av_".str_replace(' ',' av_',$header[$class_name]); } } //set manual flag if we should display the top bar $header['header_topbar'] = false; if(strpos($header['header_social'], 'extra_header_active') !== false || strpos($header['header_secondary_menu'], 'extra_header_active') !== false || !empty($header['header_phone_active'])){ $header['header_topbar'] = 'header_topbar_active'; } //set manual flag if the menu is at the bottom $header['bottom_menu'] = false; if(strpos($header['header_layout'],'bottom_nav_header') !== false) { $header['bottom_menu'] = 'header_bottom_menu_active'; } else { $header['header_class'] .= " av_bottom_nav_disabled "; } //header class that tells us to use the alternate logo if(!empty($header['header_replacement_logo'])) { $header['header_class'] .= " av_alternate_logo_active"; if(is_numeric($header['header_replacement_logo'])) { $header['header_replacement_logo'] = wp_get_attachment_image_src($header['header_replacement_logo'], 'full'); $header['header_replacement_logo'] = $header['header_replacement_logo'][0]; } } //header class that tells us to use the alternate logo if(empty($header['header_menu_border'])) { $header['header_class'] .= " av_header_border_disabled"; } $header = apply_filters('avf_header_setting_filter', $header); //make settings available globaly $avia_config['header_settings'] = $header; if(!empty($single_val) && isset($header[$single_val])) return $header[$single_val]; return $header; } }That will add a new option in each Page where you can set the Header Position per Page.
Few things:
– There’s an issue with the search icon and sidebar headers so i’d suggest not activating it.
– Have the Top Header setting as default (in Theme Options), that way the header transparency settings (in each Page) will be available.Best regards,
JosueOctober 14, 2015 at 10:41 pm in reply to: Style of single 'Menu Button Item' + link to submenu #518966Hey!
1. Use this:
#menu-item-6574 span.avia-menu-text { color: #ef3e5b !important; }2. How should the main menu button look when ‘active’?
Regards,
JosueOctober 14, 2015 at 10:20 pm in reply to: Hide elements of the layout builder, ability to create template for editor user #518955Hi!
Please create another topic regarding the issue, we’ll look into it.
Regards,
JosueHey!
Try adding this code to the Quick CSS:
span.comment-count { display: none; } #top .widget li a { color: black; } #top .widget .children{ margin-left: 10px; }Cheers!
JosueHey!
Where are the Animated Numbers on the site? can you hand me an admin account?
Best regards,
JosueOctober 13, 2015 at 3:48 pm in reply to: Hide elements of the layout builder, ability to create template for editor user #518136You are welcome, glad to help :)
Regards,
JosueOctober 13, 2015 at 12:45 pm in reply to: Hide elements of the layout builder, ability to create template for editor user #518036There was a missing comma between the image/heading selectors. To disable the Magic Wand tool add the following to CSS code:
div#mceu_15 { display: none; }Best regards,
JosueOctober 13, 2015 at 12:13 pm in reply to: Hide elements of the layout builder, ability to create template for editor user #518014There’s a typo, try with this one:
add_action('admin_head', function() { if(current_user_can('editor')){ ?> <style> .shortcode_insert_button { display: none; } a[href="#avia_sc_text"], a[href="#avia_sc_hr"], a[href="#avia_sc_heading"], a[href="#avia_sc_image"], a[href="#avia_sc_gallery"], a[href="#avia_sc_gmaps"] { display: block; } </style> <?php } });You are welcome, glad to help :)
Regards,
JosueThe CSS code i just posted and made sure the class is assigned to the
ulelement in the Page.Regards,
JosueOctober 13, 2015 at 11:12 am in reply to: Display problem recurring events in Enfold Church – Events Calendar Pro #517958Hi,
Use (Email address hidden if logged out) but post the credentials here in a private reply.
Regards,
Josue-
This reply was modified 10 years ago by
Josue.
Yeah but there must be some development behind, as it involves the “WooCommerce Tab Manager” plugin, i’m not sure if that’s on the Enfold roadmap right now but feel free to post it here as a feature request:
https://kriesi.at/support/enfold-feature-requests/Best regards,
JosueHey!
Open js/shortcodes.js and look for:
window.requestAnimationFrame(function(){ start_count(element, countTo, increment, newCount, fakeCountTo) });Replace it by:
setTimeout(function(){ window.requestAnimationFrame(function(){ start_count(element, countTo, increment, newCount, fakeCountTo) }); }, 300)Modify 300 as needed.
Cheers!
JosueOk, try the following (to discard):
1. Disable all third-party plugins.
2. Create a new Page and attempt to reproduce the error.Regards,
JosueOk check it now, here’s the code i’ve used:
function avia_add_custom_font($fonts) { $fonts['Alef'] = 'Alef:400,700'; $fonts['Arapey'] = 'Arapey:400,700'; return $fonts; } add_filter( 'avf_google_heading_font', 'avia_add_custom_font'); add_filter( 'avf_google_content_font', 'avia_add_custom_font');Regards,
JosueHey!
Ok, check it now, here’s the working code:
.list li:before { position: absolute; top: 0; left: -15px; background-color: #FFFFFF; font-family: 'fontello'; content: "\E822"; color: #007ab6; }Remember that for this to work, the ul element must have the class of “list” assigned.
Cheers!
JosueYes, i believe it’s still that.
Try with this code in Quick CSS:
#sub_menu1 .container { width: 100%; max-width: 100%; } #sub_menu1 .av-subnav-menu > li { width: 19%; }Regards,
JosueOctober 11, 2015 at 12:07 pm in reply to: Hide elements of the layout builder, ability to create template for editor user #516925Hey!
Try adding this at the very end of your theme / child theme functions.php file:
add_action('admin_head', function() { if(current_user_can('editor')){ ?> <style> a.save-template-button.button, span.avia-delete-template { display: none; } </style> <?php } });Cheers!
JosueHi,
Can you post the link to your website please?
Also check:
http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/Regards,
JosueHey!
Try increasing your PHP memory limit (to 256M or more):
https://docs.woothemes.com/document/increasing-the-wordpress-memory-limit/Best regards,
JosueHi,
Can you post the link to your website please?
Regards,
JosueHi,
Refer to this video:
Regards,
JosueHi!
Please post a link to your current site.
Best regards,
JosueOctober 11, 2015 at 10:11 am in reply to: Display problem recurring events in Enfold Church – Events Calendar Pro #516906Hey!
Support for third-party plugins is limited, have you already tried contacting the plugin author?
Best regards,
Josue -
This reply was modified 10 years ago by
-
AuthorPosts
