Jump to content

Accordion for category description


Recommended Posts

Hello

I would like to integrate accordions for the description of categories

i found come codes for presta 1.6 but i'm running presta 1.7.7

it looks like i can add JS + CSS and create accordion without module/plugin

If someone knows how to do that ?

many thanks

 

 

 

Link to comment
Share on other sites

  • 5 weeks later...

Hello,
In case you don't want to create a module, then you can add your custom CSS in your theme's custom CSS:
/themes/classic/assets/css/custom.css
 and the JS in the theme's custom JS file:
/themes/classic/assets/js/custom.js
and the category description you can find in the /themes/classic/templates/catalog/_partials/miniatures/category.tpl file in classic theme. 
I hope that I could help.
Have a nice day, Leo.

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