nasjam Posted October 23, 2015 Share Posted October 23, 2015 Hello All I wanted to hide some of the categories from left column/side but I would like that categories to remain on Top Horizontal Menu. Can someone please tell me how to do that? Thanking you all in advance Nas Link to comment Share on other sites More sharing options...
NemoPS Posted October 23, 2015 Share Posted October 23, 2015 The only way I am thinking of is targeting the specific ID within the template. So editing blockcategories, category_tree_branch (theme folder)<li class="category_{$node.id}{if isset($last) && $last == 'true'} last{/if}">See that you have the node.id, that's the category ID, you can use a condition and skip this if you don't want the category Link to comment Share on other sites More sharing options...
nasjam Posted October 23, 2015 Author Share Posted October 23, 2015 The only way I am thinking of is targeting the specific ID within the template. So editing blockcategories, category_tree_branch (theme folder) <li class="category_{$node.id}{if isset($last) && $last == 'true'} last{/if}"> See that you have the node.id, that's the category ID, you can use a condition and skip this if you don't want the category The only way I am thinking of is targeting the specific ID within the template. So editing blockcategories, category_tree_branch (theme folder) <li class="category_{$node.id}{if isset($last) && $last == 'true'} last{/if}"> See that you have the node.id, that's the category ID, you can use a condition and skip this if you don't want the category The only way I am thinking of is targeting the specific ID within the template. So editing blockcategories, category_tree_branch (theme folder) <li class="category_{$node.id}{if isset($last) && $last == 'true'} last{/if}"> See that you have the node.id, that's the category ID, you can use a condition and skip this if you don't want the category The only way I am thinking of is targeting the specific ID within the template. So editing blockcategories, category_tree_branch (theme folder) <li class="category_{$node.id}{if isset($last) && $last == 'true'} last{/if}"> See that you have the node.id, that's the category ID, you can use a condition and skip this if you don't want the category The only way I am thinking of is targeting the specific ID within the template. So editing blockcategories, category_tree_branch (theme folder) <li class="category_{$node.id}{if isset($last) && $last == 'true'} last{/if}"> See that you have the node.id, that's the category ID, you can use a condition and skip this if you don't want the category The only way I am thinking of is targeting the specific ID within the template. So editing blockcategories, category_tree_branch (theme folder) <li class="category_{$node.id}{if isset($last) && $last == 'true'} last{/if}"> See that you have the node.id, that's the category ID, you can use a condition and skip this if you don't want the category The only way I am thinking of is targeting the specific ID within the template. So editing blockcategories, category_tree_branch (theme folder) <li class="category_{$node.id}{if isset($last) && $last == 'true'} last{/if}"> See that you have the node.id, that's the category ID, you can use a condition and skip this if you don't want the category Thank you so much for your reply... I am sorry I am very new to presta shop.. suppose category ID is 18 so I have to wdit like: <li class="category_{$18}{if isset($last) && $last == 'true'} last{/if}"> Can you please tell me if that is correct or if you can correct it please? The other think I wanted to ask is tou know when I am editing above code in blockcategories.... can I just past it anywhere on that coding or I have to paste it after certain codings? THANKING YOU IN ADVANCE Link to comment Share on other sites More sharing options...
nasjam Posted October 23, 2015 Author Share Posted October 23, 2015 I am sorry for the quoting it so many times...iI dont know what has happened.I apologise. Link to comment Share on other sites More sharing options...
nasjam Posted October 23, 2015 Author Share Posted October 23, 2015 I really need help please... if anyone can help me, I will really appreciate it Link to comment Share on other sites More sharing options...
NemoPS Posted October 24, 2015 Share Posted October 24, 2015 No no, you need to wrap everything withing {if} {if $id != 18} <li> whatever.... {/if} Link to comment Share on other sites More sharing options...
nasjam Posted October 24, 2015 Author Share Posted October 24, 2015 No no, you need to wrap everything withing {if} {if $id != 18} <li> whatever.... {/if} Thank you for your reply. I am really new to this, is there anyway you expert or anyone can give me the codings pleaseeeeeee? 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