Jump to content

Change size of accordion

Recommended Posts

Hello, my accordion changes sizes when no item is open. When I click on an item it zooms in. I would like to make it stay with the same size as when the item is open. I attach image. I can't share the page because is hidden. 

Here is my code:

/* Change the font family & color of the description */
.accordion-item__description {  font-size: 14px;

/* workaround accorion max width */

.sqs-block-accordion .accordion-item__description {

  max-width : unset !important;

#block-yui_3_17_2_1_1716345216194_308902 {

li:nth-child(1) span.accordion-item__title:after {
    content: "Journey to Malapascua";
      font-size: 14px;
      text-transform: ;


span.accordion-item__title {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    line-height: 0 !important;
.accordion-item__title {
  font-size: 12px;
  font-weight: bold;

Screenshot 2024-07-05 alle 11.31.16.png

Screenshot 2024-07-05 alle 11.31.22.png

Link to comment
  • Replies 1
  • Views 166
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.