Jump to content

Prevent accordion background from expanding on adjacent content

Go to solution Solved by HOMENCREATIVE,

Recommended Posts

  • Replies 6
  • Views 1.8k
  • Created
  • Last Reply

Top Posters In This Topic

Posted

With the way that Squarespace's grid expands when you expand an accordion, this is going to be tricky to avoid with the way you have it set up. Honestly even if you set this up with a list section and a plugin like this you're still going to have that happen:

https://www.sqsmods.com/list-expand

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted

Have you tried:

.sqs-block-accordion {
    height: auto!important;
}

 

Work With Me 🖥️💻📱

Please remember to tag me so that I get a notification and respond to your help requests.

If my answers have helped you, please drop a like and mark my answer as best to help other users find solutions quickly.

You can also thank me or make requests by buying me a coffee . (Caffeine fuels me to take more requests)

For Squarespace Tips & Tricks, visit @squareskills (Youtube 📺 Tutorials)

For Premium and FREE plugins, visit Squareskills (Plugin Store) 🧩

For Custom Plugins email me 🧩

  • 3 weeks later...
Posted

@HOMENCREATIVE

No worries. Please mark it as the solution to help other users.

Work With Me 🖥️💻📱

Please remember to tag me so that I get a notification and respond to your help requests.

If my answers have helped you, please drop a like and mark my answer as best to help other users find solutions quickly.

You can also thank me or make requests by buying me a coffee . (Caffeine fuels me to take more requests)

For Squarespace Tips & Tricks, visit @squareskills (Youtube 📺 Tutorials)

For Premium and FREE plugins, visit Squareskills (Plugin Store) 🧩

For Custom Plugins email me 🧩

Posted

Hi, I am having this same issue, but in my case, it is a text box expanding when the accordion next to it opens. Would I use the code above but switch accordion to text? And if so, can you please tell me where that would go? Thank you for any help!

Posted
On 10/28/2023 at 3:26 AM, jdg said:

Hi, I am having this same issue, but in my case, it is a text box expanding when the accordion next to it opens. Would I use the code above but switch accordion to text? And if so, can you please tell me where that would go? Thank you for any help!

Can you share link to page where you use text/accordion? We can check easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.