Jump to content

[Share] Change Accordion Block Arrow (Down arrow to Right Arrow)

Recommended Posts

You have an Accordion Block, and you want to change Down Arrow to Right Arrow.

image.png.2b8654d39c8a10d081a90a329946f997.png

You can use this code to Custom CSS box

li.accordion-item:not([data-is-open="true"]) .arrow {
    transform: translatey(-25%) rotate(-45deg);
}

image.png.d0ba4069a467b80a8f21e12ea47ed867.png

Result

image.png.418ee8e55f54dc97e1e9dfe3f7196637.png

To change arrow when accordion item is open, use this CSS code under

li.accordion-item[data-is-open="true"] .arrow {
     transform: translatey(-25%) rotate(-135deg);
}

image.png.86edd677ca53ea83d47dd4f8f5396458.png

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
  • Replies 0
  • Views 187
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.