Forum Replies Created
-
AuthorPosts
-
September 22, 2014 at 10:45 am in reply to: paragraph in layerslider overflows what i expect #322906This reply has been marked as private.September 22, 2014 at 10:34 am in reply to: paragraph in layerslider overflows what i expect #322901This reply has been marked as private.September 18, 2014 at 10:39 am in reply to: I want to show a drop down of flags/languages for WPML but get a row of flags #321066This reply has been marked as private.September 17, 2014 at 10:50 am in reply to: I want to show a drop down of flags/languages for WPML but get a row of flags #320418
Thank you I have done what you said
this is the bottom of my functions.php file..
/*
* register custom functions that are not related to the framework but necessary for the theme to run
*/require_once( ‘functions-enfold.php’);
add_action(‘after_setup_theme’,’avia_remove_main_menu_flags’);
function avia_remove_main_menu_flags(){
remove_filter( ‘wp_nav_menu_items’, ‘avia_append_lang_flags’, 20, 2 );
remove_filter( ‘avf_fallback_menu_items’, ‘avia_append_lang_flags’, 20, 2 );
remove_action( ‘avia_meta_header’, ‘avia_wpml_language_switch’, 10);
}This is what my top menu looks like..
http://prntscr.com/4nm93vand this is what my WPML settings look like..
http://prntscr.com/4nm9dp
Can you please advise? why I have no flag drop down switcher?Thank you excelent
I think we must be at cross purposes I want to show the language changer as a drop down list in the menu, but it shows it as a list of flags, I have changed the code in functions as you suggested and http://www.preventon.com/home still shows a string of flags.. please can you advise…
So if I put this in functions.php I get a syntax error anc you please sned me the functions.php as you think it should be?
I think if you read the whole thread Yigit was suggesting I use this code
add_action(‘after_setup_theme’,’avia_remove_main_menu_flags’);
function avia_remove_main_menu_flags(){
remove_filter( ‘wp_nav_menu_items’, ‘avia_append_lang_flags’, 20, 2 );
remove_filter( ‘avf_fallback_menu_items’, ‘avia_append_lang_flags’, 20, 2 );
}This code doesnt look like CSS to me? but if I put it in style.css you think this will work?
It suggests I stick some code in a child theme, I dont think I have a child theme and it does not tell me where in the child theme to place it?
can you please give a little more specific help
Thank you that makes things much better…
Sorry but maybe I am being a novice but I didnt know I had a child theme and it doesnt say where to add the code to the child theme, can I please get a little more explicit instructions.
I have done that, and I still have more whitespace than I would like? do I need to also use the horizontal ruler with a negative value for whitespace, does it get place in the layout container or between them ? Below the first promo box on the page or above the next ones down?
the page I am talking about is http://www.preventon.com/microsoft-page
many thanks for your help.. -
AuthorPosts