Jump to content

How to Disable Sub-category Slider on Category page.


Recommended Posts

Hello Prestashop community,

is there a way to disable sub-category slider on SPECIFIC category page, while it remains active on other category pages?

I assume i could somehow do it with css or some other code, but how to targer class on ONLY SPECIFIC category page?

 

All the help and tips are highly appreciated. 

Link to comment
Share on other sites

15 hours ago, JBW said:

The body contains CSS classes with category ID and name in it.

grafik.thumb.png.c8409bbde600495559e656046a5bff32.png

Hi. Thanks for answer, i tried your way but it didnt seem to take effect, even after chace cleaning and stuff. What could be the problem? :)

This is the custom css code i used:

#category .category-id-161 .category-metalworking-equipment .block_subcategories {
  display:none!important;  }

 

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