Jump to content

Gradient Code Needed in Shopping Cart Checkout Buttom

Recommended Posts

Site URL: https://www.chrisbunner.com

Hello! I'm currently in the beginning phases of setting a products page up, and making style edits. I can't seem to find custom CSS available online to customize the gradient I need for the Checkout Button on my shopping cart page. This would help it match all other buttons on my site.

My gradient for most other items on the site is as follows:

background: linear-gradient(to top right, #070037, #5F00f4, #D000FB)

Any direction given would be much appreciated. My site is 7.0 Pacific Template. Please let me know what other info is needed.

Screen Shot 2021-12-06 at 1.47.04 AM.png

Link to comment
2 hours ago, ChrisBunner said:

Site URL: https://www.chrisbunner.com

Hello! I'm currently in the beginning phases of setting a products page up, and making style edits. I can't seem to find custom CSS available online to customize the gradient I need for the Checkout Button on my shopping cart page. This would help it match all other buttons on my site.

My gradient for most other items on the site is as follows:

background: linear-gradient(to top right, #070037, #5F00f4, #D000FB)

Any direction given would be much appreciated. My site is 7.0 Pacific Template. Please let me know what other info is needed.

Screen Shot 2021-12-06 at 1.47.04 AM.png

I can not find the way to access your cart page. Can you guide me?

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

@ChrisBunner Try this code

button.checkout-button {
    background: linear-gradient(to right top,#070037,#5f00f4,#d000fb) !important;
    border-color: red !important;
    padding: 20px 50px !important;
    font-size: 14px !important;
}

 

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
On 12/11/2021 at 8:15 PM, tuanphan said:

@ChrisBunner Try this code

button.checkout-button {
    background: linear-gradient(to right top,#070037,#5f00f4,#d000fb) !important;
    border-color: red !important;
    padding: 20px 50px !important;
    font-size: 14px !important;
}

 

Thank you! This worked. Any idea how I change the font of the button? Site Styles won't let me alter it, even though it's saying it is set to the font I'd like.

Link to comment
On 12/14/2021 at 12:57 AM, ChrisBunner said:

Thank you! This worked. Any idea how I change the font of the button? Site Styles won't let me alter it, even though it's saying it is set to the font I'd like.

Try this code

button.checkout-button span {
	font-family: monospace !important;
}

 

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

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.