Page 1 of 1

Remove Grid View

Posted: Tue Aug 27, 2013 12:20 pm
by littleandgraceful
Hi how do I delete the Grid View Option I only want my products to be displayed in List View as they don't sit very well in grid view. Can someone help with this please.
Thanks :)

Re: Remove Grid View

Posted: Tue Aug 27, 2013 4:21 pm
by ShaneTFletcher
Just simply remove a part of code in 1 of your template files.

Go to - catalog\view\theme\{yourtheme}\template\product
and locate the file category.tpl

In there, find the code -

Code: Select all

<div class="display"><b><?php echo $text_display; ?></b> <?php echo $text_list; ?> <b>/</b> <a onclick="display('grid');"><?php echo $text_grid; ?></a></div>
This is on the line 47 - 48.

Just remove that code and save!

Re: Remove Grid View

Posted: Wed Aug 28, 2013 7:05 am
by littleandgraceful
Ok thanks for your help :)

Re: Remove Grid View

Posted: Mon Sep 16, 2013 8:54 pm
by stokeyblokey
Thanks for this information, I have an issue with IE10 when a user selects grid view - it removes all the "rounding" on the corners of the buttons and menus on the whole site and it stays that way until the PC is turned off and booted from cold again.

No errors in any idea why...but this will fix it :)