Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #24865


    I’d like to remove the space in the top of the page and after the language switcher (WPML) and the logo.

    I’m trying to create this: http://c.adu.dk/PeXO


    I managed to remove the space, but lost my WPML switcher in the mix:


    “#meta_header {

    display: none;


    How do I add the switcher just over my menu?


    If I paste in <?php do_action(‘icl_language_selector’); ?> it shows, but <?php do_action(‘icl_language_menu’); ?> won’t show.

    I want to show the languages as “ENG | IT | DE” etc.





    This is as close as I can get you.

    First, go to WPML > Languages. Edit Languages, Translation (English), switch Danish to DA and English to EN. Do the same thing with Translation (Danish) Save changes.

    Go back to WPML > Languages. Do the following settings:

    Language switcher widget: Leave this settings untouch.

    Language switcher style: Select “List of Languages”

    How to handle languages without translation: Skip Language

    What to include in the language switcher: Deselect everything except “Native language name (the language name as it’s written in that language)”

    Click Apply.

    Now, edit header.php then find this code:

    echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png');

    Below, add this code:


    Edit custom.css or Quick CSS then add this code:

    #lang_sel_list {
    height: 32px;
    position: absolute;
    right: -60px;

    #lang_sel_list ul {
    width: 80px;
    border: none;

    #lang_sel_list li {
    float: left;
    width: 20px;
    position: relative;
    border: none;
    padding-right: 10px !important;
    border-right: 1px solid gray;

    #lang_sel_list li:last-child {
    border: none;

    #lang_sel_list ul li a {
    color: gray !important;
    background: none;

    #lang_sel_list a {
    border: none;





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

The topic ‘How do I remove the space in the top?’ is closed to new replies.