Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • otomol Friend
    #192315

    How to remove the name of a language next to the flag
    This are my language module options:

    And this is how it looks in the front-end

    I want to show only the flag.

    Thanks


    1. Screen-shot-2013-11-16-at-1.22.30-AM
    2. Screen-shot-2013-11-16-at-1.18.20-AM
    Ninja Lead Moderator
    #512558

    My css below will help you to remove text and show only flag

    From

    .head-social .languageswitcher-block .dropdown-menu {
    margin-top: 1px;
    min-width: 400px !important;
    padding: 15px !important;
    line-height: 0;
    -webkit-box-shadow: 0 5px 5px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 5px 5px rgba(0,0,0,0.2);
    box-shadow: 0 5px 5px rgba(0,0,0,0.2);
    border: solid 1px #eaeaea;
    border-top: none;
    }

    .head-social .languageswitcher-block .lang-inline li a {
    border: 1px solid #fff;
    display: block;
    font-size: 12px;
    line-height: 1;
    margin: 0;
    padding: 7px 10px;
    text-align: left;
    overflow: hidden;
    }

    Change to

    .head-social .languageswitcher-block .dropdown-menu {
    margin-top: 1px;
    min-width: 120px !important;
    padding: 15px !important;
    line-height: 0;
    -webkit-box-shadow: 0 5px 5px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 5px 5px rgba(0,0,0,0.2);
    box-shadow: 0 5px 5px rgba(0,0,0,0.2);
    border: solid 1px #eaeaea;
    border-top: none;
    }

    .head-social .languageswitcher-block .lang-inline li a {
    border: 1px solid #fff;
    display: inline-block;
    font-size: 0px;
    line-height: 1;
    margin: 0;
    padding: 7px 10px;
    text-align: left;
    overflow: hidden;
    text-indent: -999em;
    }

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

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 11 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum