将以下代码添加到您的当前启用主题的 style.css
文件中
gt_float_switcher
修改里面的top数值来控制高度。
/*多语言插件*/
.gt_float_switcher {
position: absolute;
width: 200px;
top: -23px;
}
@media only screen and (max-width: 48em){
.gt_float_switcher {
position: absolute;
width: 200px;
top: 0;
}
}
.gt_float_switcher,
.gt_options{
background: #333 !important;
}
.gt_float_switcher .gt_options a{
color: #999 !important;
}
.gt-open {
opacity: 1;
transform: translateX(0px);
position: absolute;
}
.gt_float_switcher img {
vertical-align: middle;
display: inline-block;
width: 21px;
height: auto;
margin: 0 5px 0 0;
border-radius: 1px;
}
.gt_float_switcher .gt_options a:hover {
background: #555 !important;
color: #fff;
}
.gt_float_switcher .gt-selected .gt-current-lang,
.gt_float_switcher .gt_options a {
font-size: 13px;
}
.gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
position: absolute;
transform: rotate(-360deg) !important;
right: 20px;
}
.gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow.gt_arrow_rotate {
transform: rotate(180deg) !important;
}
.gt_float_switcher .gt-selected .gt-current-lang {
color: #fff !important;
}
.gt_float_switcher .gt-selected {
background-color: #333 !important;
}