Jump to content

The text in the accordion web part doesnt span the full width

Go to solution Solved by CassAggett,

Recommended Posts

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!

Link to comment
  • Solution

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.

image.png

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.

WEBSITEINSTAGRAM

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.