[Support request] WPML language switcher in off-canvas with auto width

Home Forums Support [Support request] WPML language switcher in off-canvas with auto width

Home Forums Support WPML language switcher in off-canvas with auto width

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2352031
    Henk

    Hi,

    I have setup WPML on our website.
    I managed to show the switcher in responsive mode but I can’t find how I can do the following:
    * the logo is extremely small, how can I resize it back again to normal?
    * how can I make the field with flag auto:width so it takes less horizontal space?

    Can you help me with the CSS-code?

    Thanks a lot in advance.

    Regards,
    Henk.

    #2352652
    Ying
    Staff
    Customer Support

    Hi Henk,

    I’m not able to see the screenshot, but I think I get the idea.

    1. Add this CSS to adjust the switcher’s width:

    #mobile-header .wpml-ls-legacy-dropdown-click, #mobile-header  ul.js-wpml-ls-sub-menu.wpml-ls-sub-menu {
        width:60px;
    }

    2. Part of the logo issue is from the logo image itself, there’s a lot paddings around it, make sure you crop the logo nicely:
    https://www.screencast.com/t/IJaHFSMgLa

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.