Jump to content

Hide sub-category in Home menù(top horizzontal menù)


Recommended Posts

hi i'm new of prestashop 1.6 i'have a lots of category and sub-category for example:

Maincategory1

 ->subcategory1

    ->subcategory1-1

    ->subcategory1-2

      ect

 ->subcategory2

    ->subcategory2-1

    ->subcategory2-2

      ect

 ->subcategory3

   ->subcategory3-1

   ->subcategory3-2

      ect

Maincategory2

etc

 

now i want show only MainCategories in drop-down menu in home page but there isn't any options in module top horizzontal menù,anyone can help me?

Link to comment
Share on other sites

Hello

 

See if putting this anywhere in global.css will help you

 

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

 

Paul

i'have insert you lines in global.css,but anything is changed..what you mean with "putting this anywhere"? 

Link to comment
Share on other sites

Hello

 

I mean this is what you get:

 

Before

http://screencast.com/t/ApsCJ1Qa7Fb

 

After

http://screencast.com/t/9E56NPOgc

 

If this result is not what you are after then I apologise

 

Paul

yeah is exactly What I want to get,but i don't understand how modify global.css, even if i insert your lines i don't see any change,can you send me you global.css or do a better example?(new with prestashop)Thanks in advice ;)

Link to comment
Share on other sites

Hello

 

This works on PS 1.6.0.9

 

Try putting this code right at the bottom of your global.css file

 

Are you using default theme?

 

My css changes usually work

 

Paul

hi can't belive it just now I was writing that does not work,but after a few refresh of page,now work perfectly, thanks for your help,you have been very kind  :)

Link to comment
Share on other sites

×
×
  • Create New...