Jump to content

Custom code block styled as button (broke recently after SquareSpace update?)

Recommended Posts

Hi,

I previously had a custom code block that would display as a button. This just scrolled to another section in the page. However, at some point, I believe SquareSpace changed the button styling. Can anyone provide advice on how to update this code to work with the new button styles? Currently, it just displays as empty space.

<center><div class="sqs-block button-block sqs-block-button">
 <a href="#page-section-62f13865e9183c21a6049715" class="sqs-block-button-element--medium sqs-block-button-element">Learn More</a>
</div></center>

Thanks so much!

 

 

 

Link to comment
  • Replies 4
  • Views 253
  • Created
  • Last Reply

Top Posters In This Topic

2 hours ago, mp4 said:

Hi,

I previously had a custom code block that would display as a button. This just scrolled to another section in the page. However, at some point, I believe SquareSpace changed the button styling. Can anyone provide advice on how to update this code to work with the new button styles? Currently, it just displays as empty space.

<center><div class="sqs-block button-block sqs-block-button">
 <a href="#page-section-62f13865e9183c21a6049715" class="sqs-block-button-element--medium sqs-block-button-element">Learn More</a>
</div></center>

Thanks so much!

 

 

 

How do you want to style this button?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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.