Rui Cris Posted August 15, 2016 Share Posted August 15, 2016 Hello, I have a instalition of prestashop 1.6.1.6 and i need to limit the number of levels that are show in top menu bar. For instance I have some categories:Cat1--> Subcat1 --> Subcat2 --> Subcat3 But i only want to show the first sub-category level in the top menu.Cat1--> Subcat1 Thank Rui Cris Link to comment Share on other sites More sharing options...
vekia Posted August 15, 2016 Share Posted August 15, 2016 hello it can be done with css styles only i described whole process here: limit number of subcategories displayed in blocktopmenu module simple saying, if you want to display only main subcategories, to your global.css add this: #block_top_menu ul li li ul {display:none!important;} Link to comment Share on other sites More sharing options...
Rui Cris Posted August 15, 2016 Author Share Posted August 15, 2016 hello it can be done with css styles only i described whole process here: limit number of subcategories displayed in blocktopmenu module simple saying, if you want to display only main subcategories, to your global.css add this: #block_top_menu ul li li ul {display:none!important;} Thanks vekia, i go try now I post the result when done 1 Link to comment Share on other sites More sharing options...
Rui Cris Posted August 15, 2016 Author Share Posted August 15, 2016 (edited) Hello vekia, Work just fine. Thanks, Rui Cris Edited August 17, 2016 by Rui Cris (see edit history) Link to comment Share on other sites More sharing options...
PPSA Posted August 27, 2018 Share Posted August 27, 2018 Has anyone found a solution for this in Prestashop 1.7? Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2018 Share Posted August 27, 2018 Xlassic theme you mean? 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