Forum Replies Created

Viewing 30 posts - 4,111 through 4,140 (of 23,923 total)
  • Author
    Posts
  • in reply to: Help with my design #519782

    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! 
    Josue

    in reply to: Color background #519179

    Thanks for sharing that information @dbarta :)

    Regards,
    Josue

    You are welcome, thanks for sharing your tips too :)

    Regards,
    Josue

    Hey 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,
    Josue

    in reply to: Style of single 'Menu Button Item' + link to submenu #518966

    Hey!

    1. Use this:

    #menu-item-6574 span.avia-menu-text {
        color: #ef3e5b !important;
    }

    2. How should the main menu button look when ‘active’?

    Regards,
    Josue

    Hi!

    Please create another topic regarding the issue, we’ll look into it.

    Regards,
    Josue

    in reply to: Advanced Editor for Post Pages #518575

    Hey!

    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! 
    Josue

    in reply to: Icon Box to animate similar to Icon List #518444

    Hey!

    Where are the Animated Numbers on the site? can you hand me an admin account?

    Best regards,
    Josue

    You are welcome, glad to help :)

    Regards,
    Josue

    There 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,
    Josue

    There’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
       }
    });
    in reply to: Advertising bar below menu #517963

    You are welcome, glad to help :)

    Regards,
    Josue

    in reply to: Using Font Awesome on a Unordered Bullet List #517962

    The CSS code i just posted and made sure the class is assigned to the ul element in the Page.

    Regards,
    Josue

    Hi,

    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.
    in reply to: Advanced Editor for Post Pages #517851

    The link you posted is from Drive and requires permissions, you could either make it public or upload it to Dropbox / Imgur.

    in reply to: HTML not recognised by Enfold #517850

    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,
    Josue

    in reply to: Icon Box to animate similar to Icon List #517844

    Hey!

    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!
    Josue

    in reply to: Avia layout builder losing content #517841

    Ok, try the following (to discard):
    1. Disable all third-party plugins.
    2. Create a new Page and attempt to reproduce the error.

    Regards,
    Josue

    in reply to: google fonts without child theme #517832

    Ok 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,
    Josue

    in reply to: Using Font Awesome on a Unordered Bullet List #517831

    Hey!

    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!
    Josue

    in reply to: Using Font Awesome on a Unordered Bullet List #517280

    Yes, i believe it’s still that.

    in reply to: Wide menu #517040

    Try with this code in Quick CSS:

    #sub_menu1 .container {
        width: 100%;
        max-width: 100%;
    }
    
    #sub_menu1 .av-subnav-menu > li {
        width: 19%;
    }

    Regards,
    Josue

    Hey!

    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!
    Josue

    in reply to: Header settings #516918

    Hi,

    Can you post the link to your website please?

    Also check:
    http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/

    Regards,
    Josue

    in reply to: Avia layout builder losing content #516917

    Hey!

    Try increasing your PHP memory limit (to 256M or more):
    https://docs.woothemes.com/document/increasing-the-wordpress-memory-limit/

    Best regards,
    Josue

    in reply to: Masonry Gallery with Lightbox – Possible? #516913

    Hi,

    Can you post the link to your website please?

    Regards,
    Josue

    in reply to: woocommerce #516909

    Hi,

    Refer to this video:

    Regards,
    Josue

    in reply to: Wide menu #516908

    Hi!

    Please post a link to your current site.

    Best regards,
    Josue

    Hey!

    Support for third-party plugins is limited, have you already tried contacting the plugin author?

    Best regards,
    Josue

    in reply to: MailChimp pop up form #516905

    Hi @Emilvillumsen,

    Can you post the link to your website please?

    Regards,
    Josue

Viewing 30 posts - 4,111 through 4,140 (of 23,923 total)