New Landing How can we help? Themeforest Theme Support Dante Language switcher (WPML) 'hard to catch'

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #218723
    industriecontact
    Member
    Post count: 32

    I was referred here by the WPML support team as they couldn’t help with that issue:

    When trying to use the language switcher in the header the drop down menu disappears in 9 out of 10 attempts. Hovering makes the drop down visible, but when not exactly moving the mouse down in the ‘arrow area’ it disappears immediately. This is not user friendly – no one expects the need to follow the small arrow gap.

    WPML support thread: https://wpml.org/forums/topic/language-switcher-hard-to-catch/

    Thanks!

    #218735
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Looks like you would need to adjust the padding, please add this:

    #top-bar .menu > li.menu-item-language-current > a:hover, #top-bar a:hover {
        color: #fff;
    }
    
    #top-bar .menu > li > a {
        padding: 5px 10px;
    }

    – David.

    #218762
    industriecontact
    Member
    Post count: 32

    Works better now, but still not perfect.
    I guess this would do for now – unless you have another idea.

    Thanks!

    #218770
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    The problem seems to be the gap between the link hove the menu item and the dropdown with the language option.
    guess only adjusting the top position of the dropdown to avoid that gap.

    Try this css to see if it works better for you.

    ul.sub-menu.submenu-languages {
        top: 30px!important;
    }

    -Rui

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register