Page 1 of 1
Show only icon in mobile view
Posted: 2016-01-04 01:29
by Authen-TIC
Hi,
On the mobile view, I would like to hide the text " add - filter - Show all" and show only the icon. is there a way to do that?
Thanks for your time.
Re: Show only icon in mobile view
Posted: 2016-01-06 19:43
by a.gneady
Try adding this code into hooks/footer-extras.php
Code: Select all
<script>$j(function(){
$j('.btn-group-vertical.visible-xs.visible-sm .btn i.glyphicon').each(function(){
var btn_text = $j(this).parent().text();
var btn_html = $j(this).parent().html();
$j(this).parent().html(btn_html.replace(btn_text, ''));
});
})</script>
Re: Show only icon in mobile view
Posted: 2017-01-16 20:21
by Authen-TIC
Ok I have only the icon but I would like to have it only on a single line.