BlueBell Posted June 13, 2014 Share Posted June 13, 2014 (edited) Is there a way to have a grid view only and remove the list view? http://postcardfair.com/index.php?id_category=12&controller=category Edited June 13, 2014 by BlueBell (see edit history) Link to comment Share on other sites More sharing options...
BlueBell Posted June 13, 2014 Author Share Posted June 13, 2014 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 More sharing options...
dioniz Posted June 13, 2014 Share Posted June 13, 2014 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 More sharing options...
BlueBell Posted June 13, 2014 Author Share Posted June 13, 2014 Thanks Dioniz! I don't need either buttons, but I only want a grid view activated. Link to comment Share on other sites More sharing options...
dioniz Posted June 13, 2014 Share Posted June 13, 2014 You are welcome. I see you have custom theme. On 1.6 default theme you can delete both buttons and it will still show grid Link to comment Share on other sites More sharing options...
BlueBell Posted June 13, 2014 Author Share Posted June 13, 2014 I removed the buttons. Thanks for the tip! Link to comment Share on other sites More sharing options...
Cofhrey Posted June 14, 2014 Share Posted June 14, 2014 so it's easy to find it. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now