Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #177408

    Hi,
    someone have already install WPML with the CORONA theme?
    I have a problem with the language selector.
    I configured the options with only the flag, and horizontal scrolling.
    And I have the flag with the language label in vertical.
    my test website : http://wp.2ifs.com/
    My configuration
    WP 3.6.1
    Corona 1.6 of August 8, 2013

    I just want to have the flags of the 2 languages ​​(English, French) one next to the other.
    thank you

    #177668

    Hi ppi37!

    Configure the WPML option to not display the flags and languages. Edit header.php, find this code:

    /*
    						*	display the main navigation menu
    						*   modify the output in your wordpress admin backend at appearance->menus
    						*/
    						$args = array('theme_location'=>'avia2', 'fallback_cb' => '');
    						wp_nav_menu($args); 

    Below, add this code:

    do_action('icl_language_selector');

    Add this on your custom.css or Quick CSS:

    #lang_sel_list a, #lang_sel_list a:visited {
    background: none !important;
    border: none !important;
    color: white !important;
    }
    
    #lang_sel_list li {
    float: left;
    width: 30px;
    position: relative;
    }
    
    #lang_sel_list {
    margin-top: 10px;
    }

    Regards,
    Ismael

    #177887

    Hi Ismael,
    exactly what I wanted !
    I just replaced :
    margin-top: 10px;
    by
    padding-top: 11px;
    in the Quick CSS
    Thanks a lot !

    #177891

    Hi Ismael,
    a small problem,
    with the change in the header.php file
    Top menu links no longer works.
    Only the language selector works.
    Thank you in advance

    #178432

    Hey!

    Please add following code to Quick CSS

    #lang_sel_list { z-index: -1; }

    Regards,
    Yigit

    #178472

    Hi Yigit,
    Perfect !
    Thanks a lot

    #178475

    Hey!

    You are welcome! Glad we could help :)

    Regards,
    Yigit

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘WPML language selector with the CORONA theme’ is closed to new replies.