Jump to content

Can I have my stick call to action button be direct to an external link when clicked?

Recommended Posts

Currently, my sticky call to action button is directed to my "Order" navigation page, which used to be a squarespace page. But after I updated my Order page to be directed to an external link, my code below doesn't work anymore. Is there a way to have my stick call to action button be directed to an external link when clicked?

 

<div id="btnFloatBook">
  <a style="position: fixed; z-index: 100; bottom: 1em; right: 1em;  padding: 1em 2em; background-color: #AC2929 ;color: #fff;font-family: Khand;
    font-weight: 700;
    font-style: normal;
    letter-spacing: .02em !important;
    text-transform: uppercase;
    line-height: 1.2em !important;
    font-size: 1rem;"
   link href="/order" class="sqs-block-button-element--medium sqs-button-element--primary sqs-block-button-element">Order Now</a>
</div>

Link to comment
  • Replies 1
  • Views 182
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.