Jump to content

How can I add a button in accordion description?

Recommended Posts

22 hours ago, unINK said:

Site URL: https://northernresourcetrucking.squarespace.com/

Hi,

I am trying to add a button in accordion description. How is that possible?

You can add a text link, then add the following code to Home > Design > Custom Css

div.accordion-item__description p a {
  background-color: black;
  color: white !important;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-color: red;
  border-width: 1px;
  border-style: solid;
}

Get from @tuanphan 's solution: https://forum.squarespace.com/topic/207907-share-accordion-block-useful-code/

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.