I have a language menu, flag+ text, for small devices I want to display only the flag.so I want to not display 'English' and 'Deutsch'
The post how do i hide anchor text without hiding the anchor didn't solve my problem, so it is not a duplicated post. If I try it I get this result :
The menu is based on <a>
list:
<a id="en" class="current" href="...">
English
</a>
<ul class="dropdown" style="display: none;">
<li>
<a id="de" href="...">Deutsch</a>
</li>
</ul>
css :
@media (max-width: 500px) {
}
#en {
background-image: url(../images/flags/gb.png);
}
#de {
background-image: url(../images/flags/de.png);
}