Jump to content

Making Accordion block full-width

Recommended Posts

  • Replies 4
  • Views 3.1k
  • Created
  • Last Reply
Posted
25 minutes ago, AnnaC said:

Site URL: https://studiogently.com/branding-photography

Hey all,

Would love to know if anyone has managed to make the Accordion block full-width, rather than 70% as it is now? It's not so great on smaller screens in particular and just seems like a bit of a waste of space 🙂

Hi @AnnaC,

You can try the following code in Home > Design > Custom Css

.sqs-block-accordion .accordion-item__description {
  max-width: unset !important;
  width: 100%;
}

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted

This has worked amazingly, thank you so much @bangank36, you are a star

On 11/17/2021 at 2:20 PM, bangank36 said:

Hi @AnnaC,

You can try the following code in Home > Design > Custom Css

.sqs-block-accordion .accordion-item__description {
  max-width: unset !important;
  width: 100%;
}

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.