Jump to content

Remove Sub Menu from top horizontal menu


kkmixs

Recommended Posts

How to remove sub menu from the top horizontal menu home tab.

I just want to show the all category at one place under home tab, but since i have large number of sub category i do not want to show sub category.
Please find the attached image for more information

post-321915-0-47304200-1395941512_thumb.jpg

Link to comment
Share on other sites

  • 4 months later...

already found somewhere your website url

 

solution:

 

 

paste this code to your global.css

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

effect:

hdIGJL1.png

 

already found somewhere your website url

 

solution:

 

 

paste this code to your global.css

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

effect:

hdIGJL1.png

Is it possible to hide only sub - sub cats ? Gadgets -> sub1 , sub2 , sub3. In original css file I can see gadgets -> sub1 (sub1-sub , sub1-subcat, sub1-subcat3) , sub2 (sub2-subcat , sub2-subcat) and etc..

Link to comment
Share on other sites

Hello,

@Elenafw : you can simply paste this line of code at the end of global.css ;)

 

@Sanl :

Is it possible to hide only sub - sub cats ? Gadgets -> sub1 , sub2 , sub3. In original css file I can see gadgets -> sub1 (sub1-sub , sub1-subcat, sub1-subcat3) , sub2 (sub2-subcat , sub2-subcat) and etc..

if you want to see 1 more level of sub-cat :

#block_top_menu ul li li ul li ul{display:none!important;}
Link to comment
Share on other sites

You have your menu with main categories. So If you want only 1 level of sub-cat, paste :

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

Now if you want a 2nd level of sub-cat (so :Cat / sub-cat / sub-cat) paste :

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

I think you want the first solution. ;)

Link to comment
Share on other sites

×
×
  • Create New...