PSDesigns Posted January 26 Share Posted January 26 (edited) How can I make the description text in the accordion span the full width of the accordion? It's getting cropped. Page for reference: https://www.parulsurti.com/new-test-page Edited January 26 by PSDesigns Link to comment
creedon Posted January 27 Share Posted January 27 (edited) Use @CassAggett's method below. Edited January 28 by creedon Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
PSDesigns Posted January 27 Author Share Posted January 27 12 hours ago, creedon said: This is an SS issue. It is bizarre to me that SS is putting a max-width property of 300px on each item element. Add the following to Website > Pages > Website Tools > Custom CSS. /* workaround accorion max width */ .sqs-block-accordion .accordion-item__description { max-width : unset !important; } Let us know how it goes. This worked perfectly! thank you! creedon 1 Link to comment
Solution CassAggett Posted January 28 Solution Share Posted January 28 You can also adjust this in the accordion paragraph settings: I've set this example to 100% and the added min-width: 100% overrides the inexplicable max-width: 300px that's in the code. creedon and PSDesigns 2 If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆 Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business. WEBSITE • INSTAGRAM 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