Andy-BX Posted June 30, 2018 Share Posted June 30, 2018 Hallo, I really need your help, I would like to hide the left-column on a single category when the page of this category is displayed. Let me explain better I have activated in the dashboard-> design-> theme and logo the layout with left column + central column for category pages. but for a specific category I would like to display only the central column, and hide the left one. I suppose I have to add a {if} to test the category and act accordingly, I guess I need to edit a .php or .tpl file, can somebody of you tell me what this file is named, or what is the best way to proceed with get this result. I'm using Prestashop 1.7.3 Thank you in advance Andrea Link to comment Share on other sites More sharing options...
Rhobur Posted July 7, 2018 Share Posted July 7, 2018 in category.tpl, left column div: class="{if $category->id == XX}hidden{/if} Link to comment Share on other sites More sharing options...
piotrek.btr Posted July 31, 2018 Share Posted July 31, 2018 Hello I trying this code but i can't disable/hide left column for example 10 ID category. Any solutions ? Thank you. 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