Kacia Posted November 16, 2020 Share Posted November 16, 2020 Site URL: https://vibraphone-dove-dpfn.squarespace.com/our-methods Hi all, On this page (https://vibraphone-dove-dpfn.squarespace.com/our-methods, password: He@1ing), I'm using the accordion feature under the "What We Teach" section. Right now, when each markdown block is open there's about the same amount of space beneath it as above it. However, when the element is closed, there's more space below than above. I would like the space below and above to be the same whether it's open or closed. I've played around with a bunch of margin and padding but think maybe I'm not identifying the right CSS selectors? I'd appreciate any advice! Kacia Beyondspace 1 Link to comment
Beyondspace Posted November 16, 2020 Share Posted November 16, 2020 2 hours ago, Kacia said: Site URL: https://vibraphone-dove-dpfn.squarespace.com/our-methods Hi all, On this page (https://vibraphone-dove-dpfn.squarespace.com/our-methods, password: He@1ing), I'm using the accordion feature under the "What We Teach" section. Right now, when each markdown block is open there's about the same amount of space beneath it as above it. However, when the element is closed, there's more space below than above. I would like the space below and above to be the same whether it's open or closed. I've played around with a bunch of margin and padding but think maybe I'm not identifying the right CSS selectors? I'd appreciate any advice! Kacia Please add this in custom css .sqs-block-markdown .sqs-block-content *:first-child { margin-top: 0; margin-bottom: 0; } Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Kacia Posted November 16, 2020 Author Share Posted November 16, 2020 Thank you SO MUCH @bangank36! I was fiddling with this for hourrrrs, turns out I was missing one space. Really appreciate your help!! Beyondspace 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment