Jump to content

How to add a "OR" between my two button? And how to change one of the button color

Recommended Posts

  • Replies 1
  • Views 294
  • Created
  • Last Reply

Q2. Add to Design > Custom CSS

/* Amazon button */
.sqs-add-to-cart-button.sqs-amazon-button {
    background: red !important;
.sqs-add-to-cart-button.sqs-amazon-button a {
    background: transparent;
    color: violet;

Q1. Add to Code Injection > Header

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
$(document).ready(function() { 
		$('<p class="t-or">OR</p>').insertBefore('.sqs-add-to-cart-button.sqs-amazon-button');


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment


This topic is now archived and is closed to further replies.

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