Jump to content

[SOLVED] Grid view only


Recommended Posts

Never mind, I figured that out. Just deleted the "list" line in product-sort.tpl file. Can't paste it here because I already saved the file and can't go back, sorry. But it was the only line with the word "list" in it, so it's easy to find it.

Link to comment
Share on other sites

Why would you need grid button?

To remove buttons just delete this code in product-sort.tpl:

<ul class="display hidden-xs">
    <li class="display-title">{l s='View:'}</li>
    <li id="grid"><a rel="nofollow" href="#" title="{l s='Grid'}"><i class="icon-th-large"></i>{l s='Grid'}</a></li>
    <li id="list"><a rel="nofollow" href="#" title="{l s='List'}"><i class="icon-th-list"></i>{l s='List'}</a></li>
</ul>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...