finlettercreative Posted October 24, 2023 Posted October 24, 2023 Working with an accordion that has a background/ first item expanded / not allowing multiple open items. The issue is that when all items are minimized, there's dead space at the bottom (or top, or top and bottom, depending on how the block is aligned). This issue only occurs in desktop view when "expand first item" is checked (not an issue on mobile). Looking for code or ideas to either a.) shrink accordion to original size when all items are closed on desktop OR b.) force the accordion to always have one item expanded. https://carillon-decagon-rn3g.squarespace.com/home PW: Trimble2023 Thanks in advance!
Ziggy Posted October 25, 2023 Posted October 25, 2023 You can't really get around this if you have the option for first item open selected. When you're editing the page the minimum height of the block is set at as many rows as it is currently taking up and won't go smaller than that minimum. If you want the minimum height to be smaller then you'll have to uncheck that option. I would think that the likelihood of a user minimizing all of the accordion items is pretty low. 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?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment