aezakmi Posted January 9, 2021 Share Posted January 9, 2021 Hi! I'm trying to set the lenght of product name in category view. I've tried to edit product.tpl and increase the truncate value but it doesn't work. What can i else try? Link to comment Share on other sites More sharing options...
Prestachamps Posted January 9, 2021 Share Posted January 9, 2021 Hi, I'll need to create a rule of posting soon. 1. First of all are we talking about Ps 1.5, 1.6 , 1.7 - This is important as solution's differ based upon the Prestashop version. 2. On the category view the product_list is used, but Is aw also themes where the truncate text part was solved using a CSS trick ellipsis. 3. Would be great to have a URL- in case you don't mind. We're here to help, I'm sure we'll get it solved:) Cheers, Leo Link to comment Share on other sites More sharing options...
aezakmi Posted January 9, 2021 Author Share Posted January 9, 2021 Hi Leo. 1. Version 1.7.7.0 2. In my theme there are ProductList and ProductGrid, tried editing both but without success. 3. Here it is https://taglioestampa.it/ Kind regards! Link to comment Share on other sites More sharing options...
Prestachamps Posted January 9, 2021 Share Posted January 9, 2021 Hi, Did you changed the truncate here ? /public_html/..../themes/classic/templates/catalog/_partials/miniatures (yourtheme) the product.tpl? Link to comment Share on other sites More sharing options...
aezakmi Posted January 9, 2021 Author Share Posted January 9, 2021 (edited) Yes i did, set to 50. Previously there it was set to 25 but as you can see on the website it seems more truncated at 20 so i think must be somewhere else too Edited January 9, 2021 by aezakmi (see edit history) Link to comment Share on other sites More sharing options...
aezakmi Posted January 11, 2021 Author Share Posted January 11, 2021 any idea? Link to comment Share on other sites More sharing options...
aezakmi Posted January 18, 2021 Author Share Posted January 18, 2021 Can someone help? Link to comment Share on other sites More sharing options...
Prestachamps Posted January 18, 2021 Share Posted January 18, 2021 Just a short question: Did you do the truncate change inside the classic theme or your Ht1028 ? Regards, Leo Link to comment Share on other sites More sharing options...
aezakmi Posted January 18, 2021 Author Share Posted January 18, 2021 Just now, Prestachamps said: Just a short question: Did you do the truncate change inside the classic theme or your Ht1028 ? Regards, Leo Hi! Inside the HT1028 theme Link to comment Share on other sites More sharing options...
Prestachamps Posted January 18, 2021 Share Posted January 18, 2021 Hi, it's still being truncated from CSS: in file: https://taglioestampa.it/themes/HT1028/assets/css/custom.css , line 2550 comment out this line : white-space: nowrap; from the CSS rule : .subpage .innovatoryProductGrid .productName a, .itcolumn .productName a, .innovatoryProductGrid .productName a, .ui-front.ui-menu .ui-menu-item .search-item .product-name Kind regards, Leo Link to comment Share on other sites More sharing options...
aezakmi Posted January 18, 2021 Author Share Posted January 18, 2021 1 hour ago, Prestachamps said: Hi, it's still being truncated from CSS: in file: https://taglioestampa.it/themes/HT1028/assets/css/custom.css , line 2550 comment out this line : white-space: nowrap; from the CSS rule : .subpage .innovatoryProductGrid .productName a, .itcolumn .productName a, .innovatoryProductGrid .productName a, .ui-front.ui-menu .ui-menu-item .search-item .product-name Kind regards, Leo Yes, that's it. Thank you so much Leo! Link to comment Share on other sites More sharing options...
Prestachamps Posted January 19, 2021 Share Posted January 19, 2021 Hi, I'm glad that it worked out, you can mark the thread as solved by prefixing the name of the thread with [SOLVED] Kind regards, Leo 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now