Jump to content

[SOLVED] CSS style only for homepage in Prestashop 1.6


Recommended Posts

Hi Guys,

 

Only you can help me know, coz I can not find answer for this question anywhere.

 

Could you please tell me how can I change css style only for homepage classes?

For example I want to display product list different on homepage and different in categories etc.

 

In Prestashop 1.4 it use to work using:

body#index .class_or_div_name 

 

I tried to do the same for 1.6, without any success.

 

 

Thank you for your help!

Chris

Link to comment
Share on other sites

Ok so I actually found that there is special section for home page code, and it is in product_list.css file at the bottom:

 

/*******************************************************
Product list(Index page) Styles 
********************************************************/
 
all you need to do is to add #index before your class and it's works very well
 
Hope this will be helpful for some people.
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...