Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #322170

    How do I move the language selector to another place. Please see image: http://coolsitemachine.com/download/selector.jpg

    I also tried putting this language selector in the WP Menu but it comes out too large in size and I do not like the style. Is anyway I can change the size when the selector is located to the far right of the WP Menu? Is anyway to emulate the style I had in this other theme: http://coolsitemachine.com/download/styleSelector.png

    Thank You.

    My site is: http://coolsitemachine.com

    #322278

    Hey victor!

    Open up wp-content/themes/enfold/includes/helper-main-menu.php and replace:

    
    						if(!empty($nav) || apply_filters('avf_execute_avia_meta_header', false))
    						{
    							echo "<nav class='sub_menu' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">";
    							echo $nav;
    		                    do_action('avia_meta_header'); // Hook that can be used for plugins and theme extensions (currently: the wpml language selector)
    							echo '</nav>';
    						}
    						
    						
    						//phone/info text	
    						$phone			= $headerS['header_phone_active'] != "" ? $headerS['phone'] : "";
    						$phone_class 	= !empty($nav) ? "with_nav" : "";
    						if($phone) 		{ echo "<div class='phone-info {$phone_class}'><span>{$phone}</span></div>"; }
    

    with

    
    						
    						
    						//phone/info text	
    						$phone			= $headerS['header_phone_active'] != "" ? $headerS['phone'] : "";
    						$phone_class 	= !empty($nav) ? "with_nav" : "";
    						if($phone) 		{ echo "<div class='phone-info {$phone_class}'><span>{$phone}</span></div>"; }
    
    						if(!empty($nav) || apply_filters('avf_execute_avia_meta_header', false))
    						{
    							echo "<nav class='sub_menu' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">";
    							echo $nav;
    		                    do_action('avia_meta_header'); // Hook that can be used for plugins and theme extensions (currently: the wpml language selector)
    							echo '</nav>';
    						}
    

    Best regards,
    Peter

    #322468

    WOW! That is the reason I rate ENFOLD SUPPORT as the BEST! If any place I can put you 5 stars for your great support?

    You guys are great!

    Victor

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Move the "Language Selector" to another place…’ is closed to new replies.