Jump to content

How to change accordian button and changing placement of entire accordian?

Go to solution Solved by tuanphan,

Recommended Posts

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)

image.png.0d234db12d39dd23f8e6f0f0898570ef.png

Link to comment
  • Replies 2
  • Views 150
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution
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)

image.png.0d234db12d39dd23f8e6f0f0898570ef.png

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

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.