dzak Posted November 15, 2022 Share Posted November 15, 2022 Hi there, I was wondering if I could get help with an Custom-CSS-like solution for repositioning and changing how the description text on a product page is displayed? I would like the look that the Additional Info gives like on this page (under Gallery and Product Info, in its own full column): https://www.skipthesmalltalk.com/unlisted-store-page-for-testing/skipthesmalltalk-pilot-example2-pd4l8 (Additional Info picture) Instead of like how it normally displays as a Description like on this page (description confined to be stuck on the left column): https://www.skipthesmalltalk.com/unlisted-store-page-for-testing/skipthesmalltalk-pilot-example2 (Description picture) I am uploading my product automatically using the Squarespace API. So an alternative solution would be if was possible to update the Additional Info section with the Squarespace API, but I haven't found anywhere that describes how to do that or if that is even supported. Manually moving the descriptions to the Additional Info section is not a viable solution. Thanks so much for being such an awesome and helpful community! Link to comment
Solution tuanphan Posted November 21, 2022 Solution Share Posted November 21, 2022 Add this code to Last Line in Code Injection > Footer <script> $(document).ready(function() { $('.ProductItem-details-excerpt').insertAfter('section.ProductItem-summary.clear'); }); </script> <style> .ProductItem-details-excerpt { max-width: 750px; margin: 0 auto; margin-top: 40px; } </style> dzak 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
dzak Posted November 24, 2022 Author Share Posted November 24, 2022 Wow, tuanphan, truly incredible! This is really useful and tight code too! Thanks again! tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment