Spennie Posted June 12, 2021 Share Posted June 12, 2021 (edited) Site URL: https://www.paulspencerart.com/faqs Hi, Hoping this is an easy fix. I've used the following method to create an Accordion FAQ's page https://localcreative.co/blog/dropdown-accordion-style-faq-squarespace It works fine, but I would like to left align the text as detailed in the attached image (top image is how it is currently. Bottom image is how I'd like it aligned). Is this possible? Any help with this much appreciated. Many thanks Paul 🐵 https://www.paulspencerart.com/faqs Password is 'Cheese' Edited June 12, 2021 by Spennie Link to comment
tuanphan Posted June 14, 2021 Share Posted June 14, 2021 Hi. Add to Design > Custom CSS /* align markdown */ div#block-yui_3_17_2_1_1610638936827_4652 { h4 { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; } h4:before { margin-right: 10px; } } Spennie 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Spennie Posted June 14, 2021 Author Share Posted June 14, 2021 2 hours ago, tuanphan said: Hi. Add to Design > Custom CSS /* align markdown */ div#block-yui_3_17_2_1_1610638936827_4652 { h4 { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; } h4:before { margin-right: 10px; } } That worked perfectly! Thank you very much! 🐵 Link to comment
Amaya_SQSP Posted February 18, 2022 Share Posted February 18, 2022 Hi @Spennie, I see that you used some custom code to try to create an accordion on your site and it caused some unexpected issues with alignment. I'm happy to say that should you want to add an accordion to your site without additional code, you can do so using the accordion block! We have some information about the possibilities and customizations of the accordion block in our guide "Accordion blocks" should you want to take a look. Happy site building! 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