Jump to content


Photo

Block top menu displays a lot of subcategories, how to hide them?


  • Please log in to reply
1 reply to this topic

#1 Victor

Victor

    Member

  • Members
  • PipPip
  • 29 posts

Posted 04 April 2014 - 10:13 PM

i've got standard block top menu and i use default bootstrap theme and prestashop 1.6.0.5

my block top menu displays a lot of subcategories of "parent" category. i want to hide all subcategories and display ony "parent" categories

 

how i can do that? i have to modify module php files?



looking for the best presta addons with outstanding support? check this: PrestaShop Modules

#2 vekia

vekia

    Advanced Member

  • Members
  • PipPipPip
  • 10166 posts

Posted 04 April 2014 - 10:20 PM

hello,

you can achieve it with simple css modification,

 

the only one thing you have to do, is... just paste code below to your stylesheet file, for exmaple .global.css (you can find it in your theme directory (in css subdirectory))

#block_top_menu ul li li ul {display:none!important;}

effect:
Posted Image


free tutorials, free templates, free addons, prestashop modules MndfRK4.png  lpHMrZ5.png  gtKHYO7.png  google-48.png