Jump to content

Style Accordion Block - Icon to Reveal

Go to solution Solved by Lesum,

Recommended Posts

Posted (edited)

Hi,

I have an accordion block which uses the "+" and "-" icons to open and close the accordion description. (see below)

I would like to add a circle around the "+" or "-" using CSS, any ideas on how this can be done ?

image.png.05546eed1eaf6e81f9b5d5d815b04269.png

I'd like it to look like this :

image.png.20ec028b4e63a2ba07c4e58f2d58ae9c.png

Edited by CJoose
Link to comment
  • Replies 2
  • Views 644
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution

@CJoose Hi !  You can try adding this code snippet under Utilities > Website Tools > Custom CSS.

.accordion-icon-container {
   border: 1px solid !important;
   border-radius: 50% !important;
   padding: 10px !important;
 
}
.sqs-block-accordion .plus__horizontal-line, .sqs-block-accordion .plus__vertical-line {
    width: 50% !important;
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

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.