Language Switcher Widget - by rj - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 4 years, 8 months ago ago by rj

  • Avatar: FastFormations
    rj
    Participant
    September 7, 2020 at 06:54

    Hi
    I have placed the language switcher widget in custom-area-1
    Can you please give me CSS code to keep the look and style same as your demo content in default xstore theme.
    Specially 4 things:
    1. Alignment
    2. Arrow if possible like demo
    3. drowpdown box animation (slide up) same as it is on any other dropbox on the website e.g. search, menu, login etc.)
    4. Padding of the dropbox as its slightly above the line

    as of now it looks likt this:
    https://prnt.sc/ucv8t9
    and on hover:
    https://prnt.sc/ucvek0

    and below is the code I have used
    .header-top .wpml-ls-legacy-dropdown a {
    background-color: transparent;
    color: #222;
    border: none;
    }
    .header-top .wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a {
    color: #888;
    opacity: .8;
    background-color: transparent;
    }
    .header-top .wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    border: 1px solid #cdcdcd;
    background-color: white;
    width: 200px;
    padding: 6px 0px;
    }
    .header-top .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
    color: #222;
    padding: 10px 15px 10px 15px;
    }
    .header-top .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a:hover {
    opacity: 0.5;
    }

    Also I have put it in desktop CSS. Please let me know if it should be on global CSS.

    3 Answers
    Avatar: FastFormations
    rj
    Participant
    September 7, 2020 at 07:19

    .

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 8, 2020 at 12:41

    Hello,

    Sorry for the long delay in answering.
    Could you, please, provide URL of the site?

    Regards

    Avatar: FastFormations
    rj
    Participant
    September 8, 2020 at 17:02

    Hi mentioning URL in private content area

    Please contact administrator
    for this information.
  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Language Switcher Widget’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.