• I added the following css to wpml. It works changing the background to grey but not on this 1 page where 1 of the background languages stays white. Any ideas why?

    http://www.sidekicker.net
    [css]
    #lang_sel_list {
    background-color: rgb(248,248,248);
    width: 200px;
    margin: 0 auto;
    height: 19px;
    }
    #lang_sel_list ul {
    background-color: rgb(248,248,248);
    width: inherit;
    border: none;
    }
    #lang_sel_list li {
    background-color: rgb(248,248,248);
    float:left;
    width: 125px;
    text-align:center;
    border:none;
    }
    #lang_sel_list a, #lang_sel_list a:visited {
    background-color: rgb(248,248,248);
    border-width: 1px;
    margin-left: -1px;
    }
    #lang_sel_list a:hover {
    background-color: red;
    }
    #icl_lang_sel_widget li, #lang_sel_list ul, #lang_sel_list li {
    width: 100px;
    float:right;
    }

    [/css]

Viewing 1 replies (of 1 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Target the anchor tag as well, e.g;

    #lang_sel_list,
    #lang_sel_list ul,
    #lang_sel_list li,
    #lang_sel_list a,
    #lang_sel_list a:visited { background-color: rgb(248,248,248); }

Viewing 1 replies (of 1 total)
  • The topic ‘css not working for language header’ is closed to new replies.