cancel
Showing results for 
Search instead for 
Did you mean: 

Custom CSS in Catergory

Re: Custom CSS in Catergory

Hello @stu_harrison

 

Why you are not using less css for that?

 

just use category class and edit less file 

 

https://github.com/magento/magento2/blob/2.2-develop/app/design/frontend/Magento/luma/Magento_Catalo...

 

hope you will follow Magento 2 coding standard to develop the theme.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Custom CSS in Catergory

i could use less and create a seperate class for each catergory and pull it in that way but this used to be so easy with magento 1.9 everything seems so much more complicated in magento 2 and everytime i google an issue seems like i keep coming up with oh this is an issue with magento 2.2 we are working on a fix for that !!