Jump to content

"Display" categories depth


Recommended Posts

Hi,

I've just set up a new Prestashop site and I have a question regarding the vertical categories menu.

I've noticed that the sub-subcategories are displayed exactly as the subcategories, is there a way to distinguish them?

 

Just to be clear, what I have now is:

 

Category

> Subcategory

> Sub-subcategory

> Sub-subcategory

> Subcategory

 

What I would like to have is:

 

Category

> Subcategory

>> Sub-subcategory

>> Sub-subcategory

> Subcategory

 

Thanks in advance to all and sorry for my bad english!

Link to comment
Share on other sites

I've made it!

 

I've simply added to blockcategories.css (inside the theme folder):

   #categories_block_left li li li a:before {
      content: "\f105\f105";
   }

and now it shows the >>.

 

Since I'm going to edit a lot of css, should I create a new custom css file (where I ovverride some theme's css proprerties) or should I edit the theme directly? In that case, If I upgrade all the changes I make will be lost, right?.

 

P.S. the theme I'm using is the default one

Edited by mirko-l (see edit history)
Link to comment
Share on other sites

Yes, an upgrade will override the css files. But you cannot solve that with an override. Be sure to mark every change you make with some code so that you can find them back later on if you want to adopt the newest version. Something like "Mirko-L: discern subcategories from subsubcategories"

 

If I remember well you can specify with an upgrade that it shouldn't upgrade the default theme.

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...