Jump to content

Change Css In Specific Category


Recommended Posts

Hi people, i was wondering if i can change the css of the template for only a specific category and it sub-categories. I don't know if ti is possible, but searching in the web, i found this:

https://www.prestashop.com/forums/topic/60494-multiple-css-for-the-site-depending-on-selected-category/

 

But is for 1.3 Prestashop. I'm using 1.6.1.4. Someone know if its a way for this new version? Thanks to All

Link to comment
Share on other sites

yes can still use the solution from  the linked site in your css file

 

rocky, on 28 Jun 2010 - 03:43 AM, said:snapback.png

Sure, just use my first option above and then prefix your existing styles with the body.cat1 or the ID of whichever category you want to change. For example:
 

body.cat2 div#categories_block_left ul.tree a { color: #000 }
This would override the default colour of the links in the category block for category 2 only.

You could modify modules/jbx_menu/css/superfish-modified.css in a similar way:

body.cat2 .sf-contener { background: #000 }

 

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