Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter iceolex

    (@iceolex)

    I modified this in the header

    // user menu Area
    if( get_custom_option(‘show_user_menu’) == ‘yes’ ) { ?>
    <ul id=”language-switcher”>
    <?php pll_the_languages( array( ‘show_flags’ => 1,’show_names’ => 0 ) ); ?>

    <?php }

    and modified this for the CSS

    /* Language Switcher */

    #language-switcher li {
    list-style: none;
    display: inline;
    margin-right: 10px;
    }

    #language-switcher {
    z-index: 99;
    position: absolute;
    right: 2%;
    }

    http:// theworldwinery. com/

    permalink setting : date and title
    static home page : yes (home)
    polylang setting: language is decided by folder name
    taxinomy media folder: checked
    synchronisation: nothing checked
    tool: nothing checked

    before changing the appearance of the flags,
    they were working fine

    now only 1 out of 2 flag works.
    but language link shows up in browser “inspect” tool

    Thread Starter iceolex

    (@iceolex)

    Thanks Chrystl!

    It worked but for some odd reason
    The first flag from the left (in this case France)
    the link became unclickable and doesnt appear when i hover it with my mouse
    but it shows when i do inspect element

    any idea why ?

    Thread Starter iceolex

    (@iceolex)

    Thanks a lot Rob it worked!
    You are a savior!

Viewing 3 replies - 1 through 3 (of 3 total)