brotherton-erpnext/erpnext/e_commerce/product_ui
Trusted Computer 781548e46e
Fix: CSS not applied to product title (#35582)
In an erpnext website, the /all-products route shows website items that have been published to the web site.

In the list view (erpnext/e_commerce/product_ui/list.js), the css class is null for the product title. Instead, inline style statements have been added in that can not be modified by overriding CSS.

This fix uses a similar approach to that which is taken in the grid view (erpnext/e_commerce/product_ui/grid.js). It removes the null CSS parameter in the product title link as well as the inline style statement. Then, as in the grid view, the product title is wrapped in a div tag with the product_title CSS class.

This makes it possible to style the product title as desired with a CSS override.

Closes #35580
2023-06-07 22:11:49 +05:30
..
grid.js chore: Make image field obsolete in Website Item (redundant) 2022-06-27 13:00:00 +05:30
list.js Fix: CSS not applied to product title (#35582) 2023-06-07 22:11:49 +05:30
search.js fix: encode thumbnail URL 2022-08-31 17:06:20 +05:30
views.js fix: Product Filters Lookup 2022-03-21 17:58:39 +05:30