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
  • 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?

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.