Jump to content

How to copy "Category" bar/baner like this ? (Pic)


Recommended Posts

Hi,

That depends on what you mean by secions. If you want to split the menu between top level categories you can do it by simply adding a border to #categories_block_left .block_content>ul>li. If you want separate blocks you need to code a custom module where you can grab specific categories

  • Like 1
Link to comment
Share on other sites

well, you can achieve this in many ways, but it's not as easy as it seems. This is of course possible to achieve, but you have to edit the .tpl files of your block categories module.

 

you can achieve this with {if} conditions in the category-tree-branch.tpl file

 

just check with if - if the category is root category - if it is create new

<h4 class="title_block">{l s='Categories' mod='blockcategories'}</h4>

 

 

edit

Nemo solution is much better!

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...