Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Change Css For Each Category Rate Topic   - - - - -

 
  • allgaguzzi
  • Member
  • Trial users
  • Join Date: 31-Aug 11
  • 42 posts

Posted 26 October 2020 - 10:46 AM #1

Hi,

I would like to change few CSS classes, foe each category and its products.

.ty-product-block-title, ty-btn, .ty-tabs__item.active .ty-tabs__a, and some more.

What is the best way to do that?
Should I look the product_id with smarty?
Or there is a better way to do that?

Kind regards



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21203 posts

Posted 26 October 2020 - 01:57 PM #2

You can create separate layout for required categories. Then specify custom CSS class for the Main content block or main grid and add your custom CSS then 


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • allgaguzzi
  • Member
  • Trial users
  • Join Date: 31-Aug 11
  • 42 posts

Posted 27 October 2020 - 02:53 PM #3

You can create separate layout for required categories. Then specify custom CSS class for the Main content block or main grid and add your custom CSS then 

Thank you for your help



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21203 posts

Posted 28 October 2020 - 04:50 AM #4

You are welcome! :)


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)