Tagged: ismael
-
AuthorPosts
-
April 26, 2017 at 12:18 pm #783419
Hello,
i want to translate the site in two languages. I want to buy the plugin WPML. To created the pages i used the Advanced Layout Editor.
The question: When i will installed and activated WPML and i want to translate the pages, that pages holds the Elements(Layout, Content, Media) of Enfold Advanced Layout Editor?
I need a quick respone beacause i want to buy today WPML.
Thank you
April 26, 2017 at 2:06 pm #783473Hey!
Yes, they do. You can simply duplicate a page with all ALB elements and translate them. For more information, please see – http://kriesi.at/documentation/enfold/how-to-translate-pages-built-with-enfold-using-wpml/
Best regards,
YigitApril 26, 2017 at 2:21 pm #783484Hello Yigit,
Thank your for your help and quick answer. Please don’t close the thread for some days, because maybe i need further help.
Thank you
April 26, 2017 at 2:28 pm #783492Hi,
Sure! We will keep the thread on hold. You can simply reply to this thread to reopen it and if you have any other questions or issues, please feel free to start a new thread :)
Best regards,
YigitMay 2, 2017 at 11:21 am #786278Hello,
i buy and install WPML. I put some code on function.php that provided by support WPML. Now i want to put that code
<?php echo iso_list_menu('strtoupper'); ?>
on header.php.
The question is. Where can i put that code<?php echo iso_list_menu('strtoupper'); ?>
to display on the right of the nav menu items. See the link * on homepage where display now the languages switch (at the top left) and see where i want to display that **.Also, how manipulated the text of languages. Because the EN, i want to make lowercase En and the EL to change to Gr.
Thank you
May 2, 2017 at 2:27 pm #786365Hi,
Please add following code to Functions.php file in Appearance > Editor
add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area_ls' ); function enfold_customization_header_widget_area_ls() { echo iso_list_menu('strtoupper'); }
Then you can add following code to Quick CSS in Enfold theme options under General Styling tab and adjust its position
#header .widget { left: 50%; padding-top: 0; position: absolute; top: 0; transform: translate(-50%); z-index: 999; }
Best regards,
YigitMay 2, 2017 at 4:07 pm #786480Hello Yigit,
the PHP code worked perfect, but the CSS doesn’t work. How can i manipulated that anchor elements?
Thank you
May 2, 2017 at 4:12 pm #786483Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
YigitMay 2, 2017 at 4:32 pm #786508Hello,
I will make some changes yet and if i don’t manage that i’ll send you the credentials.
Thank you for your help.
May 2, 2017 at 4:34 pm #786511Hi,
Sure, we will keep the thread open and wait to hear from you.
Thread will be on hold, you can reopen it by simply replying to this thread :)Best regards,
YigitMay 3, 2017 at 10:43 am #787009Hello Yigit,
Take a look to my site that is on homepage (1) . I want to change color to white and put the languages text to right of nav menu see the image (2). Also, when scroll down on sticky header to change color see the image (3)
Another question. Now the languages is set (4). When i select the Gr language change the position and set (5). Why?
Thank you.
-Don’t deactivated plugins
May 4, 2017 at 4:36 am #787549Hi,
Thank you for the info. Please add this css code.
.html_header_transparency #header_main .inner-container a { color: #ffffff; }
Best regards,
IsmaelMay 4, 2017 at 9:33 am #787663Hello Ismael,
it works but when scroll down the sticky header has nav menu and language code white color. We want on scroll down sticky header to have grey color.
Thank you.
May 5, 2017 at 10:59 am #788305Hi,
I see. Please replace the css code with the following.
.html_header_transparency .av_header_transparency #header_main .inner-container a { color: #ffffff; }
Best regards,
IsmaelMay 5, 2017 at 11:19 am #788314Hello Ismael,
that work perfect to change the color of language code, but for position? How can move that on right of nav menu? How can manipulate that without affects the others elements of nav menu?
Thank you
May 5, 2017 at 12:33 pm #788349Hi,
Please remove the previous modifications including the filter in the functions.php file and the css modifications then follow these instructions.
1.) Add the following filters and script in the functions.php file:
function ava_custom_script_fix(){ ?> <script> (function($){ function d() { $('.avia_wpml_language_switch li').each(function() { $(this).insertAfter('.av-main-nav > li:last-child'); $(this).not('.menu-item').find('a').css('padding-right', 0); }); $('.avia_wpml_language_switch').remove(); $('.language_el').find('.language_code').text('gr'); } d(); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_fix'); add_filter('avf_wpml_language_switcher_position', 'avf_change_wpml_language_switcher_position', $position); function avf_change_wpml_language_switcher_position($position) { $position = 'sub_menu'; // sub_menu return $position; } 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); add_action( 'ava_inside_main_menu', 'avia_wpml_language_switch', 10); }
2.) In the Quick CSS field, add this code.
.av-main-nav > li > a .language_flag, .av-main-nav > li > a .language_native, .av-main-nav > li > a .language_translated { display: none; } .av-main-nav > li > a .language_code { text-transform: uppercase; border-right: 1px solid #58595b; padding-right: 10px; } .av-main-nav > li:last-child > a .language_code { border-right: none; padding-right: 0; }
We need to do this because the first modification place the language switcher outside the main menu container.
Best regards,
IsmaelMay 5, 2017 at 2:23 pm #788400Hello Ismael,
thank you very much, that works, but need three modification.
1. When you refresh or load a page see the flags in a white page, on positions above aboutus *.
2. We want to change the character | to white color before scroll down and when scroll down to have that color which has now **.
3. We want to make the language code text capitalize and change the second language code ***.Thank you very much for your help.
May 6, 2017 at 12:16 pm #788788Hi,
Please replace the css codes with the following:
.language_flag { opacity: 0; } .av-main-nav > li > a .language_flag, .av-main-nav > li > a .language_native, .av-main-nav > li > a .language_translated { display: none; } .av-main-nav > li > a .language_code { text-transform: uppercase; padding-right: 10px; } .av_header_transparency .av-main-nav > li > a .language_code { border-right: 1px solid #ffffff; } .av_header_transparency .av-main-nav > li:last-child > a .language_code { border-right: none; padding-right: 0; }
Best regards,
IsmaelMay 15, 2017 at 9:31 am #793223Hello Ismael,
that’s work great. Thank you for your help.
Last question. How can i change the language code name EL to Gr ? I want to change only the label of the language which display on menu.
Thank you very much.
May 17, 2017 at 5:05 am #794603May 17, 2017 at 10:10 am #794732Hello Ismael,
works like a charm. You are great.
Thank you very much for your help.
May 18, 2017 at 10:29 am #795761 -
AuthorPosts
- The topic ‘WPML hold the Advanced Layout Editor all Elements’ is closed to new replies.