Jump to content

Open Accordion tabs upward

Go to solution Solved by Ziggy,

Recommended Posts

  • Solution
Posted

That's pretty easy to achieve; you need the accordion block to be bigger than the contents, and then align the contents to the bottom of the block:

image.thumb.png.2a8d9f69eb252875827a7b9f5c704566.png

Then when the accordion opens, it expands up into the space you've created for it rather stretching down.

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
14 hours ago, Ziggy said:

That's pretty easy to achieve; you need the accordion block to be bigger than the contents, and then align the contents to the bottom of the block:

image.thumb.png.2a8d9f69eb252875827a7b9f5c704566.png

Then when the accordion opens, it expands up into the space you've created for it rather stretching down.

Oh my gosh, I didn’t know that. Thank you so much! This whole time I thought I needed a code for it. 

Posted
8 hours ago, sheriipop said:

Oh my gosh, I didn’t know that. Thank you so much! This whole time I thought I needed a code for it. 

Yes, it's nice not to need to. The accordion block is an interesting one, how you set up the minimum block size has an impact on how the section resizes when you open and close. I typically don't like the way it can stretch and shrink an image, but that effect can be quite interesting in the right scenario.

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?

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.