Layton Posted October 18, 2021 Share Posted October 18, 2021 Hiya. I want to increase truncation so that customers can view whole product titles, which I have done in product.tpl & product-listgrid.tpl. However when I do so, the alignment of products messes up (see screenshot attached). Can someone please advise me how to keep truncation value high but align my products? I am using theme PRSADD040 and my site URL is https://www.gr8-kitchenware.co.uk (though I have put truncation value back down for now) Thank you so much. Link to comment Share on other sites More sharing options...
JulienPct Posted October 18, 2021 Share Posted October 18, 2021 Hi, Couldn't you give a minimum height to your title corresponding to the size of your block at its maximum truncation? Link to comment Share on other sites More sharing options...
Layton Posted October 18, 2021 Author Share Posted October 18, 2021 Hi Julien, possibly, however I am extremely new to CSS and Prestashop so I would require some guidance on how exactly to do this. Thank you for your response. -Layton. Link to comment Share on other sites More sharing options...
JulienPct Posted October 18, 2021 Share Posted October 18, 2021 Find the container of your title and give it a minimum height in CSS: .<element class>{ min-height: <desired height in px>; } Link to comment Share on other sites More sharing options...
Layton Posted October 19, 2021 Author Share Posted October 19, 2021 Hi Julien, I have tried looking everywhere but cannot seem to find exact container sadly Link to comment Share on other sites More sharing options...
JulienPct Posted October 19, 2021 Share Posted October 19, 2021 Can you send a screen of the code? 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