Close

Category and product template - 4 wide no left nav

tmebrands
9 years ago
#9553 Quote
Avatar
  • 10
Hi,

As the title says, how can we go about getting the category and product templates to display at least 4 products wide and remove the left nav all together.

Cheers
Gav
nikola.dragiev
9 years ago
#9560 Quote
Avatar
  • Moderator
  • 154
Hello,

You can change the layout of the category pages by going to the CategoryTemplate.ProductsInGridOrLines.cshtml view file and change: 
Layout = "~/Views/Shared/_ColumnsTwo.cshtml";

in line 3 to 
Layout = "~/Views/Shared/_ColumnsOne.cshtml";


However if you do that you will have to modify the css to match the new layout and you will lose the Ajax Filters functionality.
Best regards,
Nikola Dragiev
Nop-Templates.com