Magento – add CSS / JS per category or CMS page

posted on December 17th 2014 in blogposts with 0 Comments

Here’s a very simple solution to adding custom CSS or JS to a specific category or CMS page . The example below shows how to add a reference to a custom CSS file, let’s name it custom.css and assume that we’ve copied it in /skin/frontend/default/your_theme/css. The CSS file inside would look something like (just an example): .category-description { […]

Read Article