DanielMin Posted January 4, 2023 Share Posted January 4, 2023 website: https://acromegalytrials.squarespace.com/ Hello, how would I make it so that the "plus" accordian button (image) changes to "minus" accordian button when accordian opens? is there also a way to shift the plus/minus buttons down to vertically centre aline with the questions? Lastly, how can I shift the entire FAQ section (entire accordian) to the centre of the webpage? (currently it seems to be on the left side of the webpage) Link to comment
DanielMin Posted January 5, 2023 Author Share Posted January 5, 2023 website: https://acromegalytrials.squarespace.com/ password: camurus Is there a way to have the accordion icons set to two states (open, closed) so I can add a minus symbol (image) for the closed state? Link to comment
Solution tuanphan Posted January 8, 2023 Solution Share Posted January 8, 2023 On 1/4/2023 at 10:12 PM, DanielMin said: website: https://acromegalytrials.squarespace.com/ Hello, how would I make it so that the "plus" accordian button (image) changes to "minus" accordian button when accordian opens? is there also a way to shift the plus/minus buttons down to vertically centre aline with the questions? Lastly, how can I shift the entire FAQ section (entire accordian) to the centre of the webpage? (currently it seems to be on the left side of the webpage) Add to Design > Custom CSS. Replace Pixabay with a minus image [aria-expanded="true"] .accordion-item__title:before { background-image: url(https://cdn.pixabay.com/photo/2022/11/07/14/21/labor-7576514_1280.jpg) !important; } 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!) 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