Jump to content

Remove underline from accordian button link

Go to solution Solved by tuanphan,

Recommended Posts


Trying to place some buttons in an accordion but cannot seem to remove the link underline. 

Ideally white on static then the blue on hover, no border with black text on static then white text on the hover.

Also prefer the oval (pill) button rather than rectangle

Here is the code I have been using:

// Accordion Button
.sqs-block-accordion a {
 border: 1px solid #FFFFF;
 background: #FFFFF;
 color: #00000;
 padding: .5rem 

.sqs-block-accordion a:hover {
 border: 1px solid #0074BD;
 background: #0074BD; 
 color: #FFFFF;

button {
  text-decoration: none !important;

Any ideas?

PW geko

Screen Shot 2023-09-20 at 6.00.06 PM.png

Screen Shot 2023-09-20 at 5.59.57 PM.png

Link to comment
  • Replies 4
  • Views 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

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.